Next Method
Collapse the table of content
Expand the table of content

Random.Next Method

 

Returns a random integer.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodNext()

Returns a non-negative random integer.

System_CAPS_pubmethodNext(Int32)

Returns a non-negative random integer that is less than the specified maximum.

System_CAPS_pubmethodNext(Int32, Int32)

Returns a random integer that is within a specified range.

Return to top
Show:
© 2016 Microsoft