The System.Collections namespace contains classes for storing collections of objects, including lists, hastables, queues, and stacks.
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.
| Type | Reason |
|---|---|
| ArrayList | Implements a variable-size IList that uses an array of objects to store its elements. |
| BitArray | The BItArray class implements a collection of Boolean values. There are several different constructors for initializing a new BitArray object. |
| CaseInsensitiveComparer | Documentation for this section has not yet been entered. |
| CaseInsensitiveHashCodeProvider | Documentation for this section has not yet been entered. |
| CollectionBase | Documentation for this section has not yet been entered. |
| Comparer | Provides the default implementation of the IComparer interface. |
| DictionaryBase | An abstract class that provides a simple way to monitor changes to a Hashtable. Derived classes overwrite one or more of the `On' methods to track the changes to the Hashtable. |
| Hashtable | Represents a hash table. |
| Queue | A first in, first out collection of objects. |
| ReadOnlyCollectionBase | Documentation for this section has not yet been entered. |
| SortedList | Documentation for this section has not yet been entered. |
| Stack | A last in, first out collection of objects. |
| StructuralComparisons | Documentation for this section has not yet been entered. |
| Type | Reason |
|---|---|
| ICollection | Serves as the base interface for implementing collection classes. Defines size, enumeration, and synchronization methods for all system collections. |
| IComparer | Provides a mechanism to customize the sort ordering of a collection. |
| IDictionary | Implemented by classes that support collections of associated keys and values (i.e. dictionaries). |
| IDictionaryEnumerator | Implemented by classes that support the use of an enumerator over a dictionary (i.e., a collection of DictionaryEntry objects). |
| IEnumerable | Implemented by classes that support a simple iteration over instances of the collection. |
| IEnumerator | Implemented by classes that support a simple iteration over a collection. |
| IEqualityComparer | Documentation for this section has not yet been entered. |
| IHashCodeProvider | Implemented by classes that support custom hash functions for instances of the class. |
| IList | Implemented by classes that support a collection of objects that can be individually indexed. |
| IStructuralComparable | Documentation for this section has not yet been entered. |
| IStructuralEquatable | Documentation for this section has not yet been entered. |
| Type | Reason |
|---|---|
| DictionaryEntry | Represents a dictionary entry consisting of a DictionaryEntry.Key and an associated DictionaryEntry.Value. |