ThreadSafeRandom(Int32) Constructor
This member is maintained for compatibility reasons. Use the static Create method for a slightly better performance.
Initializes a new instance of the
ThreadSafeRandom class using the specified
seed value.
It is practically the same as using the
Create(Int32) method.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
[ObsoleteAttribute("This member is maintained for compatibility reasons. Use the static Create method for a slightly better performance.")]
public ThreadSafeRandom(
int seed
)
<ObsoleteAttribute("This member is maintained for compatibility reasons. Use the static Create method for a slightly better performance.")>
Public Sub New (
seed As Integer
)
public:
[ObsoleteAttribute(L"This member is maintained for compatibility reasons. Use the static Create method for a slightly better performance.")]
ThreadSafeRandom(
int seed
)
[<ObsoleteAttribute("This member is maintained for compatibility reasons. Use the static Create method for a slightly better performance.")>]
new :
seed : int -> ThreadSafeRandom
Parameters
- seed Int32
- A number used to calculate a starting value for the pseudo-random number sequence.