TYPE
ImmutableList<T>
Immutable sequence; operations return new collection versions without altering the old membership.
Formal Syntax & Structure
csharp syntaxcsharp
ImmutableList.Create<T>(item)Working Example
Example Snippetcsharp
using System.Collections.Immutable;var a = ImmutableList.Create(1);var b = a.Add(2);System.Console.WriteLine(a.Count);