public int SampleInt32()Public Function SampleInt32 As Integerpublic:
int SampleInt32()member SampleInt32 : unit -> int Similarly to the Next and NextInt32 methods this one returns an Int32 value; however, the result can be negative and the maximum possible value can be Int32.MaxValue.
The RandomExtensions.SampleInt32(Random) extension method has the same functionality but it is faster to call this one directly.