Collections

The BCL provides a set of general-purpose data structures such as ArrayList , Dictionary , Hashtable , Queue , Stack , BitArray , and more. Standardized design patterns using common base types and public interfaces allow consistent handling of collections throughout the BCL for both pre-defined and user-defined collection types (see Section 3.4 in Chapter 3).

For more information, see the following namespaces:

System.Collections
System.Collections.Bases

Important types in other namespaces include System.Array.

Get C# Essentials 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.