P
Peter
Hi,
In recent .NET code I found a variable/reference like
item1.item2.item3
From my .NET courses I try to understand the meaning of this
....
Of course item1 must be a class/object. But what are the
possible meanings of item2.item3.
Does that mean that item2 is a nested class (inner class) in
class item1, or are there more explanations ??
E.g. item2 might be a property, but a property can't have
member/fields, so in that case item2.item3 is incorrect .NET
syntax ...
Or an interface maybe ??
Right ?
Still struggling with .NET code,
Some help would be nice.
Thanks,
P.
In recent .NET code I found a variable/reference like
item1.item2.item3
From my .NET courses I try to understand the meaning of this
....
Of course item1 must be a class/object. But what are the
possible meanings of item2.item3.
Does that mean that item2 is a nested class (inner class) in
class item1, or are there more explanations ??
E.g. item2 might be a property, but a property can't have
member/fields, so in that case item2.item3 is incorrect .NET
syntax ...
Or an interface maybe ??
Right ?
Still struggling with .NET code,
Some help would be nice.
Thanks,
P.