The seed is set to 1, if the zero is used as the seed.
Parameters
int
seed
The seed value.
bool
threadSafe
if set to true
, the class is thread safe.
The seed is set to 1, if the zero is used as the seed.
int
seedThe seed value.
bool
threadSafeif set to true
, the class is thread safe.
bool
threadSafeif set to true
, the class is thread safe.
If the seed value is zero, it is set to one. Uses the value of ThreadSafeRandomNumberGenerators to set whether the instance is thread safe.
int
seedThe seed value.
Supports being called in parallel from multiple threads.
Supports being called in parallel from multiple threads.
Supports being called in parallel from multiple threads, but the result must be enumerated from a single thread each.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive ≥ 1.
int
A 32-bit signed integer less than maxExclusive.
int
minInclusiveThe inclusive lower bound of the random number returned.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive > minExclusive.
int
A 32-bit signed integer greater than or equal to minInclusive and less than maxExclusive ; that is, the range of return values includes minInclusive but not maxExclusive. If minInclusive equals maxExclusive , minInclusive is returned.
Byte[]
bufferAn array of bytes to contain random numbers.
Double[]
valuesThe array to fill with random values.
int
countThe size of the array to fill.
Int32[]
valuesThe array to fill with random values.
int
minInclusiveThe inclusive lower bound of the random number returned.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive > minExclusive.
int
countThe size of the array to fill.
int
minInclusiveThe inclusive lower bound of the random number returned.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive > minExclusive.
int
countThe size of the array to fill.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive ≥ 1.
Int32[]
valuesThe array to fill with random values.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive ≥ 1.
int
countThe size of the array to fill.
Int32[]
valuesThe array to fill with random values.
int
minInclusiveThe inclusive lower bound of the random number returned.
int
maxExclusiveThe exclusive upper bound of the random number returned. Range: maxExclusive > minExclusive.