Hi Wim,

You've found a hack in the DotNET Framework.

Classes in DotNET can have both Methods (Functions and Subs) and
Properties. Examples of Methods are:

List.Add()
List.AddRange()
List.TrimExcess()

and Properties:

List.Count
List.Capacity
List.Item

They don't look all that different, but properties can be used almost
like variables:

List.Item(0) = 5.23


The hack I mentioned before is that Properties are really just Methods
in disguise. The name of the Method is the same as the Property,
except it has "get_" or "set_" in front of it.

So, long story short, don't use:

List.get_Count()

but use:

List.Count

--
David Rutten
[email protected]
Robert McNeel & Associates

Reply via email to