C# Class Decision.Utility.RandomNumber

Helper class to generates the random numbers.
Exibir arquivo Open project: rabbal/Decision

Public Methods

Method Description
Next ( int max ) : int

Generates a positive random number.

Next ( int min, int max ) : int

Generates a positive random number.

Private Methods

Method Description
Next ( ) : int

Generates a positive random number.

Method Details

Next() public static method

Generates a positive random number.
public static Next ( int max ) : int
max int
return int

Next() public static method

Generates a positive random number.
public static Next ( int min, int max ) : int
min int
max int
return int