C# 解决Random伪随机数短时间重复问题

来源:互联网 发布:编发软件 编辑:程序博客网 时间:2024/06/06 00:48
//利用时间种子解决伪随机数短时间重复问题Random ran = new Random((int)DateTime.Now.Ticks);

0 0