Skip to main content

Enumerator Struct

NuGet: GHIElectronics.TinyCLR.Collections
Assembly: GHIElectronics.TinyCLR.Collections
Namespace: System.Collections.Generic

Enumerates the elements of a HashSet{T}.

public struct Enumerator : IEnumerator<T>, IEnumerator

Properties

Current

public T Current { get; }

Gets the element at the current position of the enumerator.

Methods

MoveNext()

public bool MoveNext()

Advances the enumerator to the next element of the set.

Returns bool

Dispose()

public void Dispose()

Releases all resources used by the enumerator.