Class Library Reference


System.Collections Namespace
The System.Collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
Classes

 ClassDescription
Public classArrayListImplements the IList interface using an array whose size is dynamically increased as required.
Public classBitArrayManages a compact array of bit values, which are represented as Booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).
Public classCaseInsensitiveComparerCompares two objects for equivalence, ignoring the case of strings.
Public classCaseInsensitiveHashCodeProviderSupplies a hash code for an object, using a hashing algorithm that ignores the case of strings.
Public classCollectionBaseProvides the abstract base class for a strongly typed collection.
Public classComparerCompares two objects for equivalence, where string comparisons are case-sensitive.
Public classDictionaryBaseProvides the abstract base class for a strongly typed collection of key/value pairs.
Public classHashtableRepresents a collection of key/value pairs that are organized based on the hash code of the key.
Public classQueueRepresents a first-in, first-out collection of objects.
Public classReadOnlyCollectionBaseProvides the abstract base class for a strongly typed non-generic read-only collection.
Public classSortedListRepresents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.
Public classStackRepresents a simple last-in-first-out (LIFO) non-generic collection of objects.
Interfaces

 InterfaceDescription
Public interfaceICollectionDefines size, enumerators, and synchronization methods for all nongeneric collections.
Public interfaceIComparerExposes a method that compares two objects.
Public interfaceIDictionaryRepresents a nongeneric collection of key/value pairs.
Public interfaceIDictionaryEnumeratorEnumerates the elements of a nongeneric dictionary.
Public interfaceIEnumerableExposes the enumerator, which supports a simple iteration over a non-generic collection.
Public interfaceIEnumeratorSupports a simple iteration over a nongeneric collection.
Public interfaceIEqualityComparerDefines methods to support the comparison of objects for equality.
Public interfaceIHashCodeProviderSupplies a hash code for an object, using a custom hash function.
Public interfaceIListRepresents a non-generic collection of objects that can be individually accessed by index.
Structures

 StructureDescription
Public structureDictionaryEntryDefines a dictionary key/value pair that can be set or retrieved.
Tags :


Community Content

Thomas Lee
PowerCollections

If you don't find the collection you are looking for here (or in System.Collections.Generic or System.Collections.Specialized), try looking at the PowerCollections effort on GotDotNet: http://www.gotdotnet.com/content/featuredsite/powercollections/default.aspx

Also, You should look at the C5 generic collections (http://www.itu.dk/research/c5/). The C5 collections include the following generic collections:

ArrayList<T>,
CircularQueue<T>,
GuardedCollection<T>,
GuardedDictionary<K,V>,
GuardedDirectedEnumerable<T>,
GuardedEnumerable<T>,
GuardedEnumerator<T>,
GuardedIndexedSorted<T>,
GuardedList<T>,
GuardedQueue<T>,
GuardedSequenced<T>,
GuardedSorted<T>,
GuardedSortedDictionary<K,V>,
HashBag<T>,
HashDictionary<K,V>,
HashedArrayList<T>,
HashedLinkedList<T>,
HashSet<T>,
IntervalHeap<T>,
LinkedList<T>,
SequencedBase<T>,
SortedArray<T>,
SortedDictionaryBase<K,V>,
TreeBag<T>,
TreeDictionary<K,V>,
TreeSet<T>,
UnsequencedCollectionEqualityComparer<T,W>,
WrappedArray<T>


Page view tracker