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.

See Also

Reference

Random Class
Random Members
System Namespace