附一个三位数随机数

Random ran = new Random();
int ID = ran.Next(100, 999);

  

原文地址:https://www.cnblogs.com/hanxuanwong/p/5363889.html