Share via


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
Public class ArrayList Implements the IList interface using an array whose size is dynamically increased as required.
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 first-in, first-out collection of objects.
Public class Stack Represents a simple last-in-first-out (LIFO) non-generic collection of objects.

Interfaces

  Interface Description
Public interface ICollection Defines size, enumerators, and synchronization methods for all nongeneric 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 over a non-generic collection.
Public interface IEnumerator Supports a simple iteration over a nongeneric collection.
Public interface IEqualityComparer Defines methods to support the comparison of objects for equality.
Public interface IList Represents a non-generic collection of objects that can be individually accessed by index.