Share via


Random.Next Method

Returns a nonnegative random number.

Overload List

Name Description
Random.Next () Returns a nonnegative random number less than Int32.MaxValue.
Random.Next (Int32) Returns a nonnegative random number that is less than the specified maximum.

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

Random Class
Random Members
System Namespace