Click or drag to resize
System.Collections.Generic Namespace
The System.Collections.Generic namespace contains interfaces and classes that define generic collections, which allow users to create strongly typed collections that provide better type safety and performance than non-generic strongly typed collections.
Classes
  ClassDescription
Public classComparerT
Provides a base class for implementations of the IComparerT generic interface.
Public classDictionaryTKey, TValue
Represents a collection of keys and values.
Public classDictionaryTKey, TValueKeyCollection
Public classDictionaryTKey, TValueValueCollection
Public classEqualityComparerT
Provides a base class for implementations of the IEqualityComparerT generic interface.
Public classHashSet2T
Public classListT
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.
Public classStackT
Represents a variable size last-in-first-out (LIFO) collection of instances of the same arbitrary type.
Structures
  StructureDescription
Public structureDictionaryTKey, TValueEnumerator
Public structureDictionaryTKey, TValueKeyCollectionEnumerator
Public structureDictionaryTKey, TValueValueCollectionEnumerator
Public structureKeyValuePairTKey, TValue
Defines a key/value pair that can be set or retrieved.
Public structureListTEnumerator
Public structureStackTEnumerator
Interfaces