System.Collections.Immutable (7.0.0)

Published 2026-02-04 09:33:32 +03:30 by kayer

Installation

dotnet nuget add source --name kayer --username your_username --password your_token 
dotnet add package --source kayer --version 7.0.0 System.Collections.Immutable

About this package

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.

The System.Collections.Immutable library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.

About

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.

The System.Collections.Immutable library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.

For more information, see the documentation:

Dependencies

ID Version Target Framework
System.Memory 4.5.5 .NETFramework4.6.2
System.Runtime.CompilerServices.Unsafe 6.0.0 .NETFramework4.6.2
System.Memory 4.5.5 .NETStandard2.0
System.Runtime.CompilerServices.Unsafe 6.0.0 .NETStandard2.0
System.Runtime.CompilerServices.Unsafe 6.0.0 net6.0
Details
NuGet
2026-02-04 09:33:32 +03:30
135
Microsoft
529 KiB
Assets (2)
Versions (1) View all
7.0.0 2026-02-04