System.Collections Namespace
| Class | Description | |
|---|---|---|
|
ArrayList | Implements the IList interface using an array whose size is dynamically increased as required. |
|
BitArray | Manages 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). |
|
CaseInsensitiveComparer | Compares two objects for equivalence, ignoring the case of strings. |
|
CaseInsensitiveHashCodeProvider | Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings. |
|
CollectionBase | Provides the abstract base class for a strongly typed collection. |
|
Comparer | Compares two objects for equivalence, where string comparisons are case-sensitive. |
|
DictionaryBase | Provides the abstract base class for a strongly typed collection of key/value pairs. |
|
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. |
|
ReadOnlyCollectionBase | Provides the abstract base class for a strongly typed non-generic read-only collection. |
|
SortedList | 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. |
| Interface | Description | |
|---|---|---|
|
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. |
|
IDictionaryEnumerator | Enumerates the elements of a nongeneric dictionary. |
|
IEnumerable | Exposes the enumerator, which supports a simple iteration over a non-generic collection. |
|
IEnumerator | Supports a simple iteration over a nongeneric collection. |
|
IEqualityComparer | Defines methods to support the comparison of objects for equality. |
|
IHashCodeProvider | 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. |
| Structure | Description | |
|---|---|---|
|
DictionaryEntry | Defines a dictionary key/value pair that can be set or retrieved. |
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>
- 6/15/2006
- Joshua Flanagan
- 6/15/2009
- Thomas Lee