MikValSor.ImmutableCollection 1.0.5

Install-Package MikValSor.ImmutableCollection -Version 1.0.5
dotnet add package MikValSor.ImmutableCollection --version 1.0.5
<PackageReference Include="MikValSor.ImmutableCollection" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MikValSor.ImmutableCollection --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MikValSor.ImmutableCollection, 1.0.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MikValSor.ImmutableCollection as a Cake Addin
#addin nuget:?package=MikValSor.ImmutableCollection&version=1.0.5

// Install MikValSor.ImmutableCollection as a Cake Tool
#tool nuget:?package=MikValSor.ImmutableCollection&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Simple and small implementation of Immutable Collection.

ImmutableCollection Example:

void ImmutableCollectionExample()
	var source = new char[] { 'A' };
	var immutableCollection = new MikValSor.Immutable.ImmutableCollection<char>(source);

	//Change the source
	source[0] = 'B';

	//ImmutableCollection is the same
	System.Console.WriteLine($"immutableCollection[0]: {immutableCollection[0]}");
	immutableCollection[0]: A
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MikValSor.ImmutableCollection:

Package Downloads

Base32 Encoder, Decoder and ValueType. Implementing multiple standards: - [default] Base32 according to RFC4648. - z-base-32 aka. ZBase32. - Crockford's Base32. - base32hex / Triacontakaidecimal according to RFC 2938.


.NET Standard Library for Base64 value type in a style equivalent to MikValSor.Base32


.NET library for hashing in immutable value based style.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 3,969 5/8/2018
1.0.4 1,265 5/4/2018
1.0.3 561 5/4/2018
1.0.2 564 5/3/2018
1.0.1 743 5/2/2018
1.0.0 644 5/2/2018

- Added ImmutableCollectionBase<T> to ease creation of Immutable collection classes.
- Added documentation to libary.
- Changed to use inner array instead of ImmutableCollection.

- Made ImmutableCollection<T> serializable.

- Added EnumerableExtender like: IEnumearble<T>.ToImmutable()

- Fixed typo in class name.

- Initial release.