NonCryptographicRandom.Next(Int32, Int32) Method
Returns a random integer within the specified range.
Namespace: DevExpress.Data.Utils
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
minValue | Int32 | The inclusive lower bound of the random number returned. |
maxValue | Int32 | The exclusive upper bound of the random number returned. |
Returns
Type | Description |
---|---|
Int32 | A 32-bit signed integer greater than or equal to |
Remarks
The range of return values includes minValue
but not maxValue
. If minValue
equals maxValue
, the Next(System.Int32,System.Int32)
method returns minValue
.
See Also