Skip to main content
.NETFramework4.5.NETStandard1.0.NETStandard1.3.NETStandard2.0.NETPortable4.5-Profile259Windows8.0

This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity. Commonly Used Types: System.Collections.Immutable.ImmutableArray System.Collections.Immutable.ImmutableArray<T> System.Collections.Immutable.ImmutableDictionary System.Collections.Immutable.ImmutableDictionary<TKey,TValue> System.Collections.Immutable.ImmutableHashSet System.Collections.Immutable.ImmutableHashSet<T> System.Collections.Immutable.ImmutableList System.Collections.Immutable.ImmutableList<T> System.Collections.Immutable.ImmutableQueue System.Collections.Immutable.ImmutableQueue<T> System.Collections.Immutable.ImmutableSortedDictionary System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> System.Collections.Immutable.ImmutableSortedSet System.Collections.Immutable.ImmutableSortedSet<T> System.Collections.Immutable.ImmutableStack System.Collections.Immutable.ImmutableStack<T> 7e3dbdb95b30650eabade0ac73a10b22d4dbe8b3

Published
Apr 10, 2018
8y ago
Total Downloads
4.3B
4,266,290,095

Deprecated Package Version

Reason: Legacy

Versions targeting out-of-support .NET versions

Install

dotnet add package System.Collections.Immutable --version 1.5.0-preview2-26406-04
ProductVersions
.NET Standard
netstandard1.0netstandard1.3netstandard2.0
Other
.NETFramework4.5.NETPortable4.5-Profile259Windows8.0WindowsPhone8.0WindowsPhoneApp8.1

Changes from Previous Version

v1.5.0-preview1-26216-02v1.5.0-preview2-26406-04
Added Frameworks
.NETFramework4.5Windows8.0WindowsPhone8.0WindowsPhoneApp8.1
Removed Frameworks
.NETCoreApp2.0

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 8 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.