Upraviť

Zdieľať cez


ImmutableStack<T>.Enumerator Struct

Definition

Enumerates the contents of an immutable stack without allocating any memory.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

public: value class ImmutableStack<T>::Enumerator
public struct ImmutableStack<T>.Enumerator
type ImmutableStack<'T>.Enumerator = struct
Public Structure ImmutableStack(Of T).Enumerator

Type Parameters

T
Inheritance
ImmutableStack<T>.Enumerator

Properties

Current

Gets the element at the current position of the enumerator.

Methods

MoveNext()

Advances the enumerator to the next element of the immutable stack.

Applies to

Thread Safety

This type is thread safe.