.net(C#)如何产生随机数? .net(C#)如何产生随机数? Random Rdm = new Random(); //产生0到100的随机数 int iRdm = Rdm.Next(0, 100);