Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Accord
ThreadSafeRandom
Next
Accord.ThreadSafeRandom.Next C# (CSharp) Method
ThreadSafeRandom Class Documentation
显示文件
Open project: accord-net/framework
Next()
public
method
Returns a nonnegative random number less than the specified maximum.
See
Random.Next(int)
for more information.
public
Next
(
int
maxValue
) :
int
maxValue
int
The exclusive upper bound of the random number to be generated. ///
must be greater than or equal to zero.
return
int
public override int Next(int maxValue) { lock (sync) return base.Next(maxValue); }
Same methods
ThreadSafeRandom::
Next
( ) :
int
ThreadSafeRandom::
Next
(
int
minValue
,
int
maxValue
) :
int
ThreadSafeRandom
Next
NextBytes
NextDouble
ThreadSafeRandom