Skip to main content
.NETPlatform5.1

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> - 1548494

Published
Nov 18, 2015
11y 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.1.38-beta-23516
ProductVersions
Other
.NETPlatform5.1

Changes from Previous Version

v1.1.38-beta-23409v1.1.38-beta-23516
Added Frameworks
.NETPlatform5.1
Removed Frameworks
.NETPlatform5.0
Added Dependencies
System.Runtime(.NETPlatform5.1)
System.Collections(.NETPlatform5.1)
System.Diagnostics.Debug(.NETPlatform5.1)
System.Linq(.NETPlatform5.1)
System.Runtime.Extensions(.NETPlatform5.1)
System.Globalization(.NETPlatform5.1)
System.Threading(.NETPlatform5.1)
Removed Dependencies
System.Runtime(.NETPlatform5.0)
System.Diagnostics.Debug(.NETPlatform5.0)
System.Collections(.NETPlatform5.0)
System.Linq(.NETPlatform5.0)
System.Runtime.Extensions(.NETPlatform5.0)
System.Globalization(.NETPlatform5.0)
System.Threading(.NETPlatform5.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 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

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