NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Random.Next ()

Returns a positive random number.

[Visual Basic]
Overloads Overridable Public Function Next() As Integer
[C#]
public virtual int Next();
[C++]
public: virtual int Next();
[JScript]
public function Next() : int;

Return Value

A number greater than or equal to 0 and less than Int32.MaxValue.

Remarks

The seed is adjusted as a side effect of this call. Multiple calls to Next will yield different numbers.

See Also

Random Class | Random Members | System Namespace | Random.Next Overload List