A collection object is exactly what the name implies - a group of objects whose properties can be addressed through code. And as the example above showed, it is not necessary to code the individual names of each member of the collection. VB provides the fairly simple means of working with collections. When an object is added to a collection it is given an index, with the first object index starting at zero. Remove Allows you to remove members from a collection, either by specifying the index number of the object or its key.
Item Returns a specific member of a collection, either by numer or by key.
I gave above is worth repeating because you can now see how it applies to collections. As you'll see collections have become an integral and important part of the VB coding environment. Not only can you save coding time and effort as I showed in the example, but you'll find that even the controls which comes with VB contain collections of their own. Whether you want to or not, collections are one area where you'll be forced into learning about them simply because they are becoming an integral part of the daily controls that you use. What we've discussed so far was perhaps the easier part of the tutorial.