City Based Parking and Routing System API Documentation

Util.RandomNext Method (Int32, Int32)

Generates a pseudo random integer between the specified min and max value.

public static int RandomNext(
   int minValue,
   int maxValue
);

Parameters

minValue
The inclusive lower bound of the random number returned; this value must be greater or equal than zero.
maxValue
The exclusive upper bound of the random number to be generated. maxValue must be greater than or equal to zero.

Return Value

A 32-bit signed integer greater than or equal to minValue and less than maxValue; that is, the range of return values includes minValue but not maxValue. If minValue equals maxValue, minValue is returned.

See Also

Util Class | CBPRS.Infrastructure Namespace | Util.RandomNext Overload List