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 Constructor

Initializes an instance of the Random class.

Overload List

Initializes an instance of the random number generator, using the default seed, which is based on the date and time and will vary from call to call.

[Visual Basic] Overloads Public Sub New()
[C#] public Random();
[C++] public: Random();
[JScript] public function Random();

Initializes an instance of the random number generator, using the specified seed.

[Visual Basic] Overloads Public Sub New(Integer)
[C#] public Random(int);
[C++] public: Random(int);
[JScript] public function Random(int);

See Also

Random Class | Random Members | System Namespace