O'Reilly logo

Pro C# 2010 and the .NET 4 Platform, Fifth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Table 10.1. Commonly used Classes of System.Collections
System.Collections ClassMeaning in LifeKey Implemented Interfaces
ArrayListRepresents a dynamically sized collection of objects listed in sequential order.IList, ICollection, IEnumerable, and ICloneable
HashtableRepresents a collection of key/value pairs that are organized based on the hash code of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required