AutoCAD.Net/C#.Net QQ群:193522571 随机数 public static Random rNumber = new Random();//实例化一个随机数对象 public static int smm = rNumber.Next(0, 59);