Skip to main content
.NETCoreApp2.0.NETStandard1.0.NETStandard2.0.NETPortable4.5-Profile259UAP10.1Xamarin.Mac2.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> af7d2ae49c79bb279625de4e92f7f91f9fe94f5d

Published
May 9, 2017
9y 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.4.0-preview1-25305-02
ProductVersions
.NET Standard
netstandard1.0netstandard2.0
Universal Windows Platform
uap10.1
Other
.NETCoreApp2.0.NETPortable4.5-Profile259Xamarin.Mac2.0

Changes from Previous Version

v1.3.1v1.4.0-preview1-25305-02
Added Frameworks
.NETCoreApp2.0.NETStandard2.0.NETPortable4.5-Profile259UAP10.1
Removed Frameworks
MonoAndroid1.0MonoTouch1.0.NETFramework4.5Windows8.0WindowsPhone8.0WindowsPhoneApp8.1Xamarin.iOS1.0Xamarin.TVOS1.0Xamarin.WatchOS1.0
Added Dependencies
NETStandard.Library(.NETStandard1.0)
Removed Dependencies
System.Collections(.NETStandard1.0)
System.Diagnostics.Debug(.NETStandard1.0)
System.Globalization(.NETStandard1.0)
System.Linq(.NETStandard1.0)
System.Runtime(.NETStandard1.0)
System.Runtime.Extensions(.NETStandard1.0)
System.Threading(.NETStandard1.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 6 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.