Contains interfaces and classes that define immutable collections.
Classes ImmutableArrayProvides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableArray<T>.BuilderA writable array accessor that can be converted into an ImmutableArray<T> instance without allocating extra memory.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableDictionaryProvides a set of initialization methods for instances of the ImmutableDictionary<TKey,TValue> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableDictionary<TKey,TValue>.BuilderRepresents a hash map that mutates with little or no memory allocations and that can produce or build on immutable hash map instances very efficiently.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableDictionary<TKey,TValue>Represents an immutable, unordered collection of keys and values.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableHashSetProvides a set of initialization methods for instances of the ImmutableHashSet<T> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableHashSet<T>.BuilderRepresents a hash set that mutates with little or no memory allocations and that can produce or build on immutable hash set instances very efficiently.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableHashSet<T>Represents an immutable, unordered hash set.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableInterlockedContains interlocked exchange mechanisms for immutable collections.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableListProvides a set of initialization methods for instances of the ImmutableList<T> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableList<T>.BuilderRepresents a list that mutates with little or no memory allocations and that can produce or build on immutable list instances very efficiently.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableList<T>Represents an immutable list, which is a strongly typed list of objects that can be accessed by index.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableQueueProvides a set of initialization methods for instances of the ImmutableQueue<T> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableQueue<T>Represents an immutable queue.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableSortedDictionaryProvides a set of initialization methods for instances of the ImmutableSortedDictionary<TKey,TValue> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableSortedDictionary<TKey,TValue>.BuilderRepresents a sorted dictionary that mutates with little or no memory allocations and that can produce or build on immutable sorted dictionary instances very efficiently.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableSortedDictionary<TKey,TValue>Represents an immutable sorted dictionary.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableSortedSetProvides a set of initialization methods for instances of the ImmutableSortedSet<T> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableSortedSet<T>.BuilderRepresents a sorted set that enables changes with little or no memory allocations, and efficiently manipulates or builds immutable sorted sets.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableSortedSet<T>Represents an immutable sorted set implementation.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableStackProvides a set of initialization methods for instances of the ImmutableStack<T> class.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
ImmutableStack<T>Represents an immutable stack.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
Structs InterfacesWith immutable collections, you can:
The immutable collection classes are available as part of the core .NET libraries, however they're not part of the core class library distributed with .NET Framework. For .NET Framework 4.6.2 and later apps, the classes are available through NuGet packages.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4