Share via


Next Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a random number.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Next() () () () Returns a nonnegative random number.
Public method Next(Int32) Returns a nonnegative random number less than the specified maximum.

Top

See Also

Reference

Random Class

System Namespace