The System.Collections Namespace
Use the System.Collections namespace when you need to create a data structure that can hold a group of similar objects. The System.Collections namespace contains all the classes and interfaces needed to define collections of objects. Some of the classes that you might use most often are listed in Table 4.4.
Class | Description |
---|---|
ArrayList | An ArrayList is similar to an array, but the ArrayList class allows you to add items without managing the size of the list yourself (much like a VB Collection object). |
CollectionBase | This class is the base for a strongly typed collection, which is critical for creating collection classes. |
DictionaryBase | This class is the base for a strongly typed ... |
Get ASP.NET Developer's JumpStart now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.