C# 클래스 Myre.StaticRandom

Generates random numbers
파일 보기 프로젝트 열기: martindevans/Myre

공개 메소드들

메소드 설명
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

메소드 상세

Random() 공개 정적인 메소드

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

Random() 공개 정적인 메소드

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)
리턴 uint