System.Collections Namespace
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
System_CAPS_pubclass ArrayList

Implements the IList interface using an array whose size is dynamically increased as required.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclass BitArray

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

System_CAPS_pubclass CaseInsensitiveComparer

Compares two objects for equivalence, ignoring the case of strings.

System_CAPS_pubclass CaseInsensitiveHashCodeProvider

Obsolete. Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings.

System_CAPS_pubclass CollectionBase

Provides the abstract base class for a strongly typed collection.

System_CAPS_pubclass Comparer

Compares two objects for equivalence, where string comparisons are case-sensitive.

System_CAPS_pubclass DictionaryBase

Provides the abstract base class for a strongly typed collection of key/value pairs.

System_CAPS_pubclass Hashtable

Represents a collection of key/value pairs that are organized based on the hash code of the key.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclass Queue

Represents a first-in, first-out collection of objects.

System_CAPS_pubclass ReadOnlyCollectionBase

Provides the abstract base class for a strongly typed non-generic read-only collection.

System_CAPS_pubclass SortedList

Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.

System_CAPS_pubclass Stack

Represents a simple last-in-first-out (LIFO) non-generic collection of objects.

System_CAPS_pubclass StructuralComparisons

Provides objects for performing a structural comparison of two collection objects.

StructureDescription
System_CAPS_pubstructure DictionaryEntry

Defines a dictionary key/value pair that can be set or retrieved.

InterfaceDescription
System_CAPS_pubinterface ICollection

Defines size, enumerators, and synchronization methods for all nongeneric collections.

System_CAPS_pubinterface IComparer

Exposes a method that compares two objects.

System_CAPS_pubinterface IDictionary

Represents a nongeneric collection of key/value pairs.

System_CAPS_pubinterface IDictionaryEnumerator

Enumerates the elements of a nongeneric dictionary.

System_CAPS_pubinterface IEnumerable

Exposes an enumerator, which supports a simple iteration over a non-generic collection.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubinterface IEnumerator

Supports a simple iteration over a non-generic collection.

System_CAPS_pubinterface IEqualityComparer

Defines methods to support the comparison of objects for equality.

System_CAPS_pubinterface IHashCodeProvider

Obsolete. Supplies a hash code for an object, using a custom hash function.

System_CAPS_pubinterface IList

Represents a non-generic collection of objects that can be individually accessed by index.

System_CAPS_pubinterface IStructuralComparable

Supports the structural comparison of collection objects.

System_CAPS_pubinterface IStructuralEquatable

Defines methods to support the comparison of objects for structural equality.

Return to top