ImmutableStack<T>.IImmutableStack<T>.Pop Method ()


Removes the element at the top of the immutable stack and returns the new stack.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

IImmutableStack<T> IImmutableStack<T>.Pop()

Return Value

Type: System.Collections.Immutable.IImmutableStack<T>

The new stack; never null.

This member is an explicit interface member implementation. It can be used only when the ImmutableStack<T> instance is cast to an IImmutableStack<T> interface.

Return to top