HashSet<(Of <(T>)>)..::.Enumerator | Enumerates the elements of a HashSet<(Of <(T>)>) object |
KeyValuePair<(Of <(TKey, TValue>)>) | Defines a key/value pair that can be set or retrieved |
LinkedList<(Of <(T>)>)..::.Enumerator | Enumerates the elements of a LinkedList<(Of <(T>)>) |
List<(Of <(T>)>)..::.Enumerator | Enumerates the elements of a List<(Of <(T>)>) |
Queue<(Of <(T>)>)..::.Enumerator | Enumerates the elements of a Queue<(Of <(T>)>) |
SortedDictionary<(Of <(TKey, TValue>)>)..::.Enumerator | Enumerates the elements of a SortedDictionary<(Of <(TKey, TValue>)>) |
SortedDictionary<(Of <(TKey, TValue>) >)..::.KeyCollection..::.Enumerator | Enumerates the elements of a SortedDictionary<(Of <(TKey, TValue>) >)..::.KeyCollection |
SortedDictionary<(Of <(TKey, TValue>)>)..::.ValueCollection..::. Enumerator | Enumerates the elements of a SortedDictionary<(Of <(TKey, TValue>) >)..::.ValueCollection |
Stack(<Of <(T>)>)..::.Enumerator | Enumerates the elements of a Stack<(Of <(T>)>) |
Following are descriptions of the interfaces contained within the System.Collections.Generic
namespace.
Interface | Description |
---|---|
ICollection<(Of <(T>)>) | Defines methods to manipulate generic collections |
IComparer<(Of <(T>)>) | Defines a method that a type implements to compare two objects |
IDictionary<(Of <(TKey, TValue>)>) | Represents a generic collection of key/value pairs |
IEnumerable<(Of <(T>)>) | Exposes the enumerator, which supports a simple iteration over a collection of a specified type |
IEnumerator<(Of <(T>)>) | Supports a simple iteration over a generic collection |
IEqualityComparer<(Of <(T>)>) | Defines methods to support the comparison of objects for equality |
Ilist<(Of <(T>)>) | Represents a collection of objects that can be individually accessed by index |
Prior to .NET 2.0, all the data structures contained in the System.Collection
namespace are object-based. With .NET 2.0, Microsoft has released generic equivalents of some of these classes. The following table shows the mapping of these classes in the two namespaces.
System.Collection | System.Collection.Generic |
---|---|
Comparer | Comparer<T> |
HashTable | Dictionary<K,T> |
— | LinkedList<T> |
Вы читаете C# 2008 Programmer's Reference