10.1. The Issues with Non-Generic Collections
When the .NET platform was first released, programmers frequently used the System.Collections namespace of mscorlib.dll. Here, developers were provided with a set of classes that allowed them to manage and organize large amounts of data. Table 10-1 documents some of the more commonly used collection classes, and the core interfaces they implement.
System.Collections Class | Meaning in Life | Key Implemented Interfaces |
---|---|---|
ArrayList | Represents a dynamically sized collection of objects listed in sequential order. | IList, ICollection, IEnumerable, and ICloneable |
Hashtable | Represents a collection of key/value pairs that are organized based on the hash code of the ... |
Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition 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.