System.Collections Namespace
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains types that define collections of objects.
Classes
Class | Description | |
---|---|---|
ArrayList | Implements the IList interface using an array whose size is dynamically increased as required. | |
DictionaryEntry | Defines a dictionary key/value pair that can be set or retrieved. | |
Hashtable | Represents a collection of key/value pairs that are organized based on the hash code of the key. | |
Queue | Represents a first-in, first-out collection of objects. | |
Stack | Represents a simple last-in-first-out (LIFO) non-generic collection of objects. |
Interfaces
Interface | Description | |
---|---|---|
ICollection | Defines size, enumerators, and synchronization methods for all nongeneric collections. | |
IComparer | Exposes a method that compares two objects. | |
IDictionary | Represents a nongeneric collection of key/value pairs. | |
IEnumerable | Exposes the enumerator, which supports a simple iteration over a non-generic collection. | |
IEnumerator | Supports a simple iteration over a nongeneric collection. | |
IEqualityComparer | Defines methods to support the comparison of objects for equality. | |
IList | Represents a non-generic collection of objects that can be individually accessed by index. |