Click or drag to resize

GeneratorCount Method

Makes a generator that generates consecutive integers starting from zero up to a limit, and repeats the cycle.

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IGenerator<int> Count(
	int upperLimitExcluded
)

Parameters

upperLimitExcluded
Type: SystemInt32
The upper limit (excluded).

Return Value

Type: IGeneratorInt32
A new generator
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionupperLimitExcluded is not positive.
See Also