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.
Install-Package Net40.Collections.Immutable -Version 2.1.0
dotnet add package Net40.Collections.Immutable --version 2.1.0
<PackageReference Include="Net40.Collections.Immutable" Version="2.1.0" />
paket add Net40.Collections.Immutable --version 2.1.0
- NetFx.Extensions.Primitives (>= 2.1.1)
This package is not used by any popular GitHub repositories.