Random.nextInt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the next random number from the random generator.
public:
virtual int nextInt();
public virtual int nextInt ();
abstract member nextInt : unit -> int
override this.nextInt : unit -> int
Public Overridable Function nextInt () As Integer
Returns
The next random integer number from the random generator.
Remarks
The value will be in the range from 0 to 32767 (0x7FFF).