如何批量生成7为随机数?如题。[解决办法]
Random r = new Random(); for (int i = 0; i < 100; i++) { int result = r.Next(1000000, 9999999); Console.WriteLine(result); }