City Based Parking and Routing System API Documentation

Util.RandomNext Method (Int32)

Generates a pseudo random integer.

public static int RandomNext(
   int maxValue
);

Parameters

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 zero, and less than maxValue; that is, the range of return values includes zero but not maxValue.

See Also

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