Click or drag to resize
GeneralRulesGetRandomNumber Method
Return a random number within a specified range.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual int GetRandomNumber(
	int Minimum,
	int Maximum
)

Parameters

Minimum
Type: SystemInt32
Minimum value that can be returned
Maximum
Type: SystemInt32
Maximum bound of the range; this value will never be returned

Return Value

Type: Int32
A random integer greater than or equal to Minimum and less than Maximum. This value is based on a random seed that was generated based on the current time when the program started.
See Also