แก้ไข

แชร์ผ่าน


RandomNumberGenerator Constructor

Definition

Initializes a new instance of RandomNumberGenerator.

protected:
 RandomNumberGenerator();
public:
 RandomNumberGenerator();
protected RandomNumberGenerator ();
public RandomNumberGenerator ();
Protected Sub New ()
Public Sub New ()

Remarks

You cannot create an instance of an abstract class. Application code will create a new instance of a derived class. For an implementation of a cryptographic random number generator, use the derived class RNGCryptoServiceProvider.

Applies to

See also