System.Collections Namespace

July 28, 2014

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

  ClassDescription
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 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 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.

Show:
© 2014 Microsoft