Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Collections Namespace

The System.Collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.

  ClassDescription
Public classArrayListImplements the IList interface using an array whose size is dynamically increased as required.
Public classBitArrayManages 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).
Public classCaseInsensitiveComparerCompares two objects for equivalence, ignoring the case of strings.
Public classCaseInsensitiveHashCodeProvider Obsolete. Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings.
Public classCollectionBaseProvides the abstract base class for a strongly typed collection.
Public classComparerCompares two objects for equivalence, where string comparisons are case-sensitive.
Public classDictionaryBaseProvides the abstract base class for a strongly typed collection of key/value pairs.
Public classHashtableRepresents a collection of key/value pairs that are organized based on the hash code of the key.
Public classQueueRepresents a first-in, first-out collection of objects.
Public classReadOnlyCollectionBaseProvides the abstract base class for a strongly typed non-generic read-only collection.
Public classSortedListRepresents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.
Public classStackRepresents a simple last-in-first-out (LIFO) non-generic collection of objects.
Public classStructuralComparisonsProvides objects for performing a structural comparison of two collection objects.

  StructureDescription
Public structureDictionaryEntryDefines a dictionary key/value pair that can be set or retrieved.

  InterfaceDescription
Public interfaceICollectionDefines size, enumerators, and synchronization methods for all nongeneric collections.
Public interfaceIComparerExposes a method that compares two objects.
Public interfaceIDictionaryRepresents a nongeneric collection of key/value pairs.
Public interfaceIDictionaryEnumeratorEnumerates the elements of a nongeneric dictionary.
Public interfaceIEnumerableExposes the enumerator, which supports a simple iteration over a non-generic collection.
Public interfaceIEnumeratorSupports a simple iteration over a nongeneric collection.
Public interfaceIEqualityComparerDefines methods to support the comparison of objects for equality.
Public interfaceIHashCodeProvider Obsolete. Supplies a hash code for an object, using a custom hash function.
Public interfaceIListRepresents a non-generic collection of objects that can be individually accessed by index.
Public interfaceIStructuralComparableSupports the structural comparison of collection objects.
Public interfaceIStructuralEquatableDefines methods to support the comparison of objects for structural equality.

Community Additions

Show:
© 2014 Microsoft