T_Cyjb_RandomUtil - CYJB/Cyjb GitHub Wiki
提供关于随机数的扩展方法。
System.Object
Cyjb.RandomUtil
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public static class RandomUtil
The RandomUtil type exposes the following members.
名称 | 说明 | |
---|---|---|
![]() ![]() |
Choose(T) | 随机返回数组的某一项。 |
![]() ![]() |
NextBoolean(Random) | 返回平均概率的随机布尔值。 |
![]() ![]() |
NextBoolean(Random, Double) | 返回指定概率的随机布尔值。 |