10.3. The System.Collections.Generic Namespace
You can find the bulk of the System.Collections.Generic namespace in the mscorlib.dll and System.dll assemblies. At the opening of this chapter, I briefly mentioned some of the core non-generic interfaces implemented by the non-generic collection classes. Not too surprisingly, the System.Collections.Generic namespace defines generic replacements for many of them.
In fact, you can find a number of the generic interfaces that extend their non-generic counterparts! This might seem odd; however, by doing so, implementing classes will also support the legacy functionally found in their non-generic siblings. For example, IEnumerable<T> extends IEnumerable. Table 10-3 documents the core generic interfaces ...
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.