T_Cyjb_RandomUtil - CYJB/Cyjb GitHub Wiki

RandomUtil 类

提供关于随机数的扩展方法。

继承层次

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) 返回指定概率的随机布尔值。
  Back to Top

参见

Reference

Cyjb 命名空间

⚠️ **GitHub.com Fallback** ⚠️