Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

Random.Next Method

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.

  NameDescription
Public method Next() Returns a nonnegative random number.
Public method Next(Int32) Returns a nonnegative random number less than the specified maximum.
Public method Next(Int32, Int32) Returns a random number within a specified range.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.