IImmutableQueue<T>
Represents an immutable first-in, first-out collection of objects.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
Gets a value that indicates whether this immutable queue is empty.
Returns a new queue with all the elements removed.
Removes the first element in the immutable queue, and returns the new queue.
Adds an element to the end of the immutable queue, and returns the new queue.
T Peek()
Returns the element at the beginning of the immutable queue without removing it.