MSDN .NET API Documentation

Reference for the .NET Framework

Namespace: System.Collections

Namespace: System.Collections

Assembly: mscorlib (in mscorlib.dll)

Provides interfaces and classes that define various generic and non-generic collections of objects.

Core Collection Types

ICollection

Represents a collection of objects.

IEnumerable

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

IList

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

IDictionary

Represents a collection of key/value pairs.

IEnumerator

Supports a simple iteration over a non-generic collection.

Common Collection Implementations

ArrayList

Represents a strongly typed list of objects that can be accessed by index. Provides methods for searching, sorting, and manipulating lists.

Hashtable

Represents a collection of key/value pairs that are organized by hash code. Provides fast access to values by their associated key.

Queue

Represents a first-in, first-out (FIFO) collection of objects.

Stack

Represents a last-in, first-out (LIFO) collection of objects.