Struct LinkedListSlimEnumerator<T>
- Namespace
- LfrlAnvil
- Assembly
- LfrlAnvil.Core.dll
Lightweight enumerator implementation for a slim linked list.
public ref struct LinkedListSlimEnumerator<T>
Type Parameters
T
- 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.