List<T> problem

Ah! Old book on .NET. Apparently, now you don't have to include the List1.Item[int i] when itterating through a list. Just use List1[int i].

False alarm. Stand down, get back to work, or whatever you do. :)
 
Many collection types work like this. This isn't a .Net thing. This is a C# thing (and it is available but not necessary in VB since the Item property is also available). In C# it's referred to as an indexer. In VB it is an indexed property that is also the default property. If you were using J# you would be using the get_Item function. It's all a matter of how the language presents the underlying IL.
 
Back
Top