Search code examples
c#immutable-collections

C# - Where are the immutable collections?


I'm reading a book and it introduces me to immutable collections which includes ImmutableDictionary, ImmutableHashSet and more.

The book says that its in Microsoft.Bcl.Immutable NuGet package but I can't find it. Any help? Also, I'm using .NET 4.6.1.

Thanks.


Solution

  • They live under System.Collections.Immutable.

    Try this: https://www.nuget.org/packages/System.Collections.Immutable