C# 生成一个随机数

来源:互联网 发布:下载卖装备软件 编辑:程序博客网 时间:2024/06/06 15:43

Random random = new Random();
number = random.Next(1, 101);//生成1,100的随机数

1 0