System::Random::Random 构造函数

Random::Random() constructor

使用基于时间的默认种子值初始化一个新实例。

System::Random::Random()

另见

Random::Random(int32_t) constructor

使用指定的种子值初始化 System.Random 类的新实例。

System::Random::Random(int32_t seed)
参数类型描述
种子int32_t用于生成伪随机数序列的种子

另见