MikValSor.ImmutableCollection 1.0.5

.NET Standard 2.0 .NET Framework 4.5
NuGet\Install-Package MikValSor.ImmutableCollection -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
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
#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

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
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .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 4,117 5/8/2018
1.0.4 2,355 5/4/2018
1.0.3 672 5/4/2018
1.0.2 668 5/3/2018
1.0.1 878 5/2/2018
1.0.0 753 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.