C# Class Myre.StaticRandom

Generates random numbers
Afficher le fichier Open project: martindevans/Myre

Méthodes publiques

Méthode Description
Random ( uint upperBound = uint.MaxValue ) : uint

Creates a random number, using the time as a seed

Random ( uint seed, uint upperBound ) : uint

Creates a random number from the specified seed

Method Details

Random() public static méthode

Creates a random number, using the time as a seed
public static Random ( uint upperBound = uint.MaxValue ) : uint
upperBound uint The maximum value (exclusive)
Résultat uint

Random() public static méthode

Creates a random number from the specified seed
public static Random ( uint seed, uint upperBound ) : uint
seed uint The seed value
upperBound uint The maximum value (exclusive)
Résultat uint