System.Collections Namespace

Contains types that define collections of objects.

Classes

Name Description
Public Class ArrayList Implements the IList interface by using an array whose size is dynamically increased as necessary.
Public Class DictionaryEntry Defines a dictionary key/value pair that can be set or retrieved.
Public Class Hashtable Represents a collection of key/value pairs that are organized based on the hash code of the key.
Public Class Queue Represents a circular-array implementation of a queue.
Public Class Stack Represents a simple last-in, first-out (LIFO) non-generic collection of objects.

Interfaces

Name Description
Public Interface ICollection Defines size, enumerators, and synchronization methods for all collections.
Public Interface IComparer Exposes a method that compares two objects.
Public Interface IDictionary Represents a nongeneric collection of key/value pairs.
Public Interface IEnumerable Exposes the enumerator, which supports a simple iteration through a collection.
Public Interface IEnumerator Supports a simple iteration through a collection.
Public Interface IList Represents a collection of objects that you can access individually by index number.