TK.RandomNext Method
Returns a random integer that is within a specified range.
Public Shared Function RandomNext( _
ByVal minValue As Integer, _
ByVal maxValue As Integer _
) As Integer
This language is not supported or no code example is available.
public static int RandomNext(
int minValue,
int maxValue
)
This language is not supported or no code example is available.
Parameters
-
minValue
-
int
The inclusive lower bound of the random number returned.
-
maxValue
-
int
The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue.
Return Value
int
.NET Framework
Supported in: 4.8