System.Collections namespaces for UWP apps
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 .NET for UWP apps. Note that .NET for UWP 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 .NET for UWP apps.
Types supported in .NET for UWP apps | Description |
|---|---|
Implements the IList interface using an array whose size is dynamically increased as required.To browse the .NET Framework source code for this type; see the Reference Source. | |
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). | |
Compares two objects for equivalence; ignoring the case of strings. | |
Provides the abstract base class for a strongly typed collection. | |
Compares two objects for equivalence; where string comparisons are case-sensitive. | |
Provides the abstract base class for a strongly typed collection of key/value pairs. | |
Defines a dictionary key/value pair that can be set or retrieved. | |
Represents a collection of key/value pairs that are organized based on the hash code of the key.To browse the .NET Framework source code for this type; see the Reference Source. | |
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. | |
Represents a first-in; first-out collection of objects. | |
Provides the abstract base class for a strongly typed non-generic read-only collection. | |
Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index. | |
Represents a simple last-in-first-out (LIFO) non-generic collection of objects. | |
Provides objects for performing a structural comparison of two collection objects. |
Types supported in the .NET for UWP 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. |
Types supported in the .NET for UWP 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 | |
SortedDictionary(Of TKey, TValue).ValueCollection.Enumerator | Enumerates the elements of a SortedDictionary<TKey, TValue>.ValueCollection. |
Represents a collection of key/value pairs that are sorted by key based on the associated IComparer<T> implementation. | |
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>. |
Types supported in the .NET for UWP 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>. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Provides a simple structure that stores Boolean values and small integers in 32 bits of memory. | |
Represents a section of the vector that can contain an integer number. | |
Creates collections that ignore the case in strings. | |
Implements IDictionary by using a ListDictionary while the collection is small; and then switching to a Hashtable when the collection gets large. | |
Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed. | |
Represents an indexed collection of key/value pairs. | |
Implements IDictionary using a singly linked list. Recommended for collections that typically include fewer than 10 items. | |
Provides the abstract base class for a collection of associated String keys and Object values that can be accessed either with the key or with the index. | |
Represents a collection of the String keys of a collection. | |
Represents a collection of associated String keys and String values that can be accessed either with the key or with the index. | |
Describes the action that caused a CollectionChanged event. | |
Provides data for the CollectionChanged event. | |
Represents the method that handles the CollectionChanged event. | |
Represents a collection of key/value pairs that are accessible by the key or index. | |
Represents a collection of strings. | |
Implements a hash table with the key and the value strongly typed to be strings rather than objects. | |
Supports a simple iteration over a StringCollection. |