Table of Contents

Property Current

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

Current

Gets the element last generated by this generator.

object Current { get; }

Property Value

object

Remarks

It is always (in theory) valid to query this property. When called right after the generator is constructed (before calls to move next), it gives the first element of this generator.

In practice, it is possible for a generator to overflow.