System.Collections Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
Array |
Implements the IList interface using an array whose size is dynamically increased as required. |
Bit |
Manages a compact array of bit values, which are represented as Booleans, where |
Case |
Compares two objects for equivalence, ignoring the case of strings. |
Case |
Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings. |
Collection |
Provides the |
Comparer |
Compares two objects for equivalence, where string comparisons are case-sensitive. |
Dictionary |
Provides the |
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. |
Read |
Provides the |
Sorted |
Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index. |
Stack |
Represents a simple last-in-first-out (LIFO) non-generic collection of objects. |
Structural |
Provides objects for performing a structural comparison of two collection objects. |
Dictionary |
Defines a dictionary key/value pair that can be set or retrieved. |
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. |
IDictionary |
Enumerates the elements of a nongeneric dictionary. |
IEnumerable |
Exposes an enumerator, which supports a simple iteration over a non-generic collection. |
IEnumerator |
Supports a simple iteration over a non-generic collection. |
IEquality |
Defines methods to support the comparison of objects for equality. |
IHash |
Supplies a hash code for an object, using a custom hash function. |
IList |
Represents a non-generic collection of objects that can be individually accessed by index. |
IStructural |
Supports the structural comparison of collection objects. |
IStructural |
Defines methods to support the comparison of objects for structural equality. |
.NET feedback
.NET is an open source project. Select a link to provide feedback: