The System.Collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
The System.Collections namespace contains useful classes for storing collections of objects.
All collections implement the ICollection interface, which provides basic functionality for iterating through the elements of a collection. Collections that support index-based access into their elements and the ability to add and remove elements, such as the ArrayList, implement the IList interface. Collections that provide a key/value mapping, such as the Hashtable, implement the IDictionary interface.
Implements the IList interface using an array whose size is dynamically increased as required.
Manages a compact array of bit values, which are represented as Booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).
Compares two objects for equivalence, ignoring the case of strings.
Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings.
Provides the abstract base class for a strongly typed collection.
Compares two objects for equivalence, where string comparisons are case-sensitive.
Provides the abstract base class for a strongly typed collection of key/value pairs.
Defines a dictionary key/value pair that can be set or retrieved.
Represents a collection of key/value pairs that are organized based on the hash code of the key.
Defines size, enumerators, and synchronization methods for all nongeneric collections.
Exposes a method that compares two objects.
Represents a nongeneric collection of key/value pairs.
Enumerates the elements of a nongeneric dictionary.
Exposes an enumerator, which supports a simple iteration over a non-generic collection.
Supports a simple iteration over a non-generic collection.
Defines methods to support the comparison of objects for equality.
Supplies a hash code for an object, using a custom hash function.
Represents a non-generic collection of objects that can be individually accessed by index.
Supports the structural comparison of collection objects.
Defines methods to support the comparison of objects for structural equality.
Represents a first-in, first-out collection of objects.
Provides the abstract base class for a strongly typed non-generic read-only collection.
Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.
Represents a simple last-in-first-out (LIFO) non-generic collection of objects.
Provides objects for performing a structural comparison of two collection objects.