System.Collections namespaces
System.Collections and its child namespaces (System.Collections.Concurrent, System.Collections.Generic, System.Collections.ObjectModel, and System.Collections.Specialized) contain types that define various standard, specialized, and generic collection objects.
This topic displays the types in the System.Collections namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.
System.Collections namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
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). |
|
Defines a dictionary key/value pair that can be set or retrieved. |
|
Defines size, enumerators, and synchronization methods for all nongeneric collections. |
|
Exposes a method that compares two objects. |
|
Represents a nongeneric collection of key/value pairs. |
|
Enumerates the elements of a nongeneric dictionary. |
|
Exposes the enumerator, which supports a simple iteration over a non-generic collection. |
|
Supports a simple iteration over a nongeneric collection. |
|
Defines methods to support the comparison of objects for equality. |
|
Represents a non-generic collection of objects that can be individually accessed by index. |
|
Supports the structural comparison of collection objects. |
|
Defines methods to support the comparison of objects for structural equality. |
|
Provides objects for performing a structural comparison of two collection objects. |
System.Collections.Concurrent namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Provides blocking and bounding capabilities for thread-safe collections that implement IProducerConsumerCollection<T>. |
|
Represents a thread-safe, unordered collection of objects. |
|
Represents a thread-safe collection of key-value pairs that can be accessed by multiple threads concurrently. |
|
Represents a thread-safe first in-first out (FIFO) collection. |
|
Represents a thread-safe last in-first out (LIFO) collection. |
|
Out-of-the-box partitioners are created with a set of default behaviors. For example, by default, some form of buffering and chunking will be employed to achieve optimal performance in the common scenario where an IEnumerable<T> implementation is fast and non-blocking. These behaviors can be overridden using this enumeration. |
|
Defines methods to manipulate thread-safe collections intended for producer/consumer usage. This interface provides a unified representation for producer/consumer collections so that higher level abstractions such as BlockingCollection<T> can use the collection as the underlying storage mechanism. |
|
Represents a particular manner of splitting an orderable data source into multiple partitions. |
|
Provides common partitioning strategies for arrays, lists, and enumerables. |
|
Represents a particular manner of splitting a data source into multiple partitions. |
System.Collections.Generic namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Provides a base class for implementations of the IComparer<T> generic interface. |
|
Represents a collection of keys and values. |
|
Enumerates the elements of a Dictionary<TKey, TValue>. |
|
Represents the collection of keys in a Dictionary<TKey, TValue>. This class cannot be inherited. |
|
Enumerates the elements of a Dictionary<TKey, TValue>.KeyCollection. |
|
Represents the collection of values in a Dictionary<TKey, TValue>. This class cannot be inherited. |
|
Enumerates the elements of a Dictionary<TKey, TValue>.ValueCollection. |
|
Provides a base class for implementations of the IEqualityComparer<T> generic interface. |
|
Represents a set of values. |
|
Enumerates the elements of a HashSet<T> object. |
|
Defines methods to manipulate generic collections. |
|
Defines a method that a type implements to compare two objects. |
|
Represents a generic collection of key/value pairs. |
|
Exposes the enumerator, which supports a simple iteration over a collection of a specified type. |
|
Supports a simple iteration over a generic collection. |
|
Defines methods to support the comparison of objects for equality. |
|
Represents a collection of objects that can be individually accessed by index. |
|
Represents a strongly-typed, read-only collection of elements. |
|
Represents a generic read-only collection of key/value pairs. |
|
Represents a read-only collection of elements that can be accessed by index. |
|
Provides the base interface for the abstraction of sets. |
|
The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. |
|
Defines a key/value pair that can be set or retrieved. |
|
Represents a doubly linked list. |
|
Enumerates the elements of a LinkedList<T>. |
|
Represents a node in a LinkedList<T>. This class cannot be inherited. |
|
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists. |
|
Enumerates the elements of a List<T>. |
|
Represents a first-in, first-out collection of objects. |
|
Enumerates the elements of a Queue<T>. |
|
Represents a collection of key/value pairs that are sorted on the key. |
|
Enumerates the elements of a SortedDictionary<TKey, TValue>. |
|
Represents the collection of keys in a SortedDictionary<TKey, TValue>. This class cannot be inherited. |
|
Enumerates the elements of a SortedDictionary<TKey, TValue>.KeyCollection. |
|
Represents the collection of values in a SortedDictionary<TKey, TValue>. This class cannot be inherited |
|
Enumerates the elements of a SortedDictionary<TKey, TValue>.ValueCollection. |
|
Represents a collection of objects that is maintained in sorted order. |
|
Enumerates the elements of a SortedSet<T> object. |
|
Represents a variable size last-in-first-out (LIFO) collection of instances of the same arbitrary type. |
|
Enumerates the elements of a Stack<T>. |
System.Collections.ObjectModel namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Provides the base class for a generic collection. |
|
Provides the abstract base class for a collection whose keys are embedded in the values. |
|
Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed. |
|
Provides the base class for a generic read-only collection. |
|
Represents a read-only, generic collection of key/value pairs. |
|
Represents a read-only collection of the keys of a ReadOnlyDictionary<TKey, TValue> object. |
|
Represents a read-only collection of the values of a ReadOnlyDictionary<TKey, TValue> object. |
|
Represents a read-only ObservableCollection<T>. |
System.Collections.Specialized namespace
Types supported in the .NET for Windows Store apps |
Description |
---|---|
Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed. |
|
Describes the action that caused a CollectionChanged event. |
|
Provides data for the CollectionChanged event. |
|
Represents the method that handles the CollectionChanged event. |