Method Count
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Count(int)
Makes a generator that generates consecutive integers starting from zero up to a limit, and repeats the cycle.
public static IGenerator<int> Count(int upperLimitExcluded)Parameters
- upperLimitExcludedint
- The upper limit (excluded). 
Returns
- IGenerator<int>
- A new generator 
Exceptions
- ArgumentOutOfRangeException
- upperLimitExcludedis not positive.