5. Class
Comparer<T>
Description
Provides a base class for implementations of
the IComparer<T>generic interface.
Dictionary<TKey, TValue>
Dictionary<TKey,
TValue>::KeyCollection
Dictionary<TKey,
TValue>::ValueCollection
EqualityComparer<T>
Represents a collection of keys and values.
Represents the collection of keys in a Dictionary<TKey,
TValue>. This class cannot be inherited.
HashSet<T>
KeyedByTypeCollection<TItem>
KeyNotFoundException
Represents a set of values.
Provides a collection whose items are types that serve as keys.
The exception that is thrown when the key specified for
accessing an element in a collection does not match any key in
the collection.
LinkedList<T>
LinkedListNode<T>
Represents a doubly linked list.
Represents a node in a LinkedList<T>. This class cannot be
inherited.
List<T>
Represents a strongly typed list of objects that can be
accessed by index. Provides methods to search, sort, and
manipulate lists.
Represents a first-in, first-out collection of objects.
Queue<T>
Represents the collection of values in a Dictionary<TKey,
TValue>. This class cannot be inherited.
Provides a base class for implementations of
theIEqualityComparer<T> generic interface.
6. SortedDictionary<TKey, TValue>
Represents a collection of key/value pairs that are sorted on
the key.
SortedDictionary<TKey,
TValue>::KeyCollection
Represents the collection of keys in a SortedDictionary<TKey,
TValue>. This class cannot be inherited.
SortedDictionary<TKey,
TValue>::ValueCollection
Represents the collection of values in
a SortedDictionary<TKey, TValue>. This class cannot be
inherited
SortedList<TKey, TValue>
Represents a collection of key/value pairs that are sorted by
key based on the associated IComparer<T> implementation.
SortedSet<T>
Represents a collection of objects that is maintained in sorted
order.
Represents a variable size last-in-first-out (LIFO) collection of
instances of the same arbitrary type.
Stack<T>
SynchronizedCollection<T>
Provides a thread-safe collection that contains objects of a
type specified by the generic parameter as elements.
SynchronizedKeyedCollection<K, T>
Provides a thread-safe collection that contains objects of a
type specified by a generic parameter and that are grouped by
keys.
SynchronizedReadOnlyCollection<T>
Provides a thread-safe, read-only collection that contains
objects of a type specified by the generic parameter as
elements.
36. ArrayList
• It’s not a Generic*
– private: System::Collections::ArrayList ^MyArrayList ;
• Drop in performance!
_____________________________________________________
*Generic : class Typed