Table of Contents

Struct SparseListSlim<T>.Sequence.Enumerator

Namespace
LfrlAnvil
Assembly
LfrlAnvil.Core.dll

Lightweight enumerator implementation for SparseListSlim<T>.Sequence.

public ref struct SparseListSlim<T>.Sequence.Enumerator
Inherited Members

Properties

Current

Gets an element in the view, along with its index, at the current position of the enumerator.

public KeyValuePair<int, T> Current { get; }

Property Value

KeyValuePair<int, T>

Methods

MoveNext()

Advances the enumerator to the next element of the collection.

public bool MoveNext()

Returns

bool

true if the enumerator was successfully advanced to the next element, otherwise false.