Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft