NonCryptographicRandom.Next(Int32) Method
Returns a non-negative random integer that is less than the specified maximum.
Namespace: DevExpress.Data.Utils
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
maxValue | Int32 | The exclusive upper bound of the random number to be generated. |
Returns
Type | Description |
---|---|
Int32 | A 32-bit signed integer that is greater than or equal to 0, and less than |
Remarks
The range of return values ordinarily includes 0 but not maxValue
. If maxValue
equals 0, the Next(System.Int32)
method returns 0.
See Also