Random Constructor (Int32)
nitializes a new instance of the Random class, using the specified seed value.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public Random( int seed )
<TemplateAttribute> _ Public Sub New ( _ seed As Integer _ )
[TemplateAttribute] public: Random( int^ seed )
Parameters
- seed
- Type: System..::..Int32
A number used to calculate a starting value for the pseudo-random number sequence. If a negative number is specified, the absolute value of the number is used.