C# 不重复的随机数时间:2023-03-08 22:53:17 public int RabdomNumber() { num = new Random(Guid.NewGuid().GetHashCode()).Next(0, 40); return num; }