ImmutableStack<T>
Represents an immutable stack.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
Enumerates the contents of an immutable stack without allocating any memory.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
Gets an empty immutable stack.
Gets a value that indicates whether this instance of the immutable stack is empty.
Removes all objects from the immutable stack.
Returns an enumerator that iterates through the immutable stack.
Returns the object at the top of the stack without removing it.
Removes the element at the top of the immutable stack and returns the stack after the removal.
Removes the specified element from the immutable stack and returns the stack after the removal.
Inserts an object at the top of the immutable stack and returns the new stack.