System.Collections.Immutable Namespace
The System.Collections.Immutable namespace contains interfaces and classes that define immutable collections. These classes are supported starting with .NET Framework 4.5. Use them to build apps that target the desktop, Windows Store, Portable Class Library and Windows Phone 8.
| Interface | Description | |
|---|---|---|
![]() | IImmutableDictionary<TKey, TValue> | Represents an immutable collection of key/value pairs. NuGet package: System.Collections.Immutable (about immutable collections and how to install) |
![]() | IImmutableList<T> | Represents a list of elements that cannot be modified. NuGet package: System.Collections.Immutable (about immutable collections and how to install) |
![]() | IImmutableQueue<T> | Represents an immutable first-in, first-out collection of objects. NuGet package: System.Collections.Immutable (about immutable collections and how to install) |
![]() | IImmutableSet<T> | Represents a set of elements that can only be modified by creating a new instance of the set. NuGet package: System.Collections.Immutable (about immutable collections and how to install) |
![]() | IImmutableStack<T> | Represents an immutable last-in-first-out (LIFO) collection. NuGet package: System.Collections.Immutable (about immutable collections and how to install) |


