|  | DistributionTRandom Property | 
Note: This API is now obsolete.
            Gets or sets the random number generator.
            
 
Namespace: DigitalRune.Mathematics.StatisticsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
 Syntax
Syntax[ContentSerializerIgnoreAttribute]
[ObsoleteAttribute("The properties Random and NextValue have been declared obsolete because the .NET class Random is not thread-safe, which can lead to problems in multithreaded applications. Use the method Next(Random) instead, which is thread-safe if used properly.")]
public Random Random { get; set; }<ContentSerializerIgnoreAttribute>
<ObsoleteAttribute("The properties Random and NextValue have been declared obsolete because the .NET class Random is not thread-safe, which can lead to problems in multithreaded applications. Use the method Next(Random) instead, which is thread-safe if used properly.")>
Public Property Random As Random
	Get
	Setpublic:
[ContentSerializerIgnoreAttribute]
[ObsoleteAttribute(L"The properties Random and NextValue have been declared obsolete because the .NET class Random is not thread-safe, which can lead to problems in multithreaded applications. Use the method Next(Random) instead, which is thread-safe if used properly.")]
property Random^ Random {
	Random^ get ();
	void set (Random^ value);
}[<ContentSerializerIgnoreAttribute>]
[<ObsoleteAttribute("The properties Random and NextValue have been declared obsolete because the .NET class Random is not thread-safe, which can lead to problems in multithreaded applications. Use the method Next(Random) instead, which is thread-safe if used properly.")>]
member Random : Random with get, set
Property Value
Type: 
RandomThe random number generator.
 Remarks
Remarks
            Per default, the global random number generator of the 
RandomHelper is used. A
            different random number generator can be set. Set this value to 
 to 
            use the default random number generator (see 
Random).
            
 See Also
See Also