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.

  Class Description
Public class 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.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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).
Public class CaseInsensitiveComparer Compares two objects for equivalence, ignoring the case of strings.
Public class CaseInsensitiveHashCodeProvider Obsolete. Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings.
Public class CollectionBase Provides the abstract base class for a strongly typed collection.
Public class Comparer Compares two objects for equivalence, where string comparisons are case-sensitive.
Public class DictionaryBase Provides the abstract base class for a strongly typed collection of key/value pairs.
Public class 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.
Public class Queue Represents a first-in, first-out collection of objects.
Public class ReadOnlyCollectionBase Provides the abstract base class for a strongly typed non-generic read-only collection.
Public class SortedList Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.
Public class Stack Represents a simple last-in-first-out (LIFO) non-generic collection of objects.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps StructuralComparisons Provides objects for performing a structural comparison of two collection objects.

  Structure Description
Public structure Supported by Portable Class Library Supported in .NET for Windows Store apps DictionaryEntry Defines a dictionary key/value pair that can be set or retrieved.

  Interface Description
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps ICollection Defines size, enumerators, and synchronization methods for all nongeneric collections.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IComparer Exposes a method that compares two objects.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IDictionary Represents a nongeneric collection of key/value pairs.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IDictionaryEnumerator Enumerates the elements of a nongeneric dictionary.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps 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.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IEnumerator Supports a simple iteration over a non-generic collection.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IEqualityComparer Defines methods to support the comparison of objects for equality.
Public interface IHashCodeProvider Obsolete. Supplies a hash code for an object, using a custom hash function.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IList Represents a non-generic collection of objects that can be individually accessed by index.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IStructuralComparable Supports the structural comparison of collection objects.
Public interface Supported by Portable Class Library Supported in .NET for Windows Store apps IStructuralEquatable Defines methods to support the comparison of objects for structural equality.
Show:
© 2014 Microsoft