如题。
------解决方案--------------------------------------------------------
- C# code
Random r = new Random(); for (int i = 0; i < 100; i++) { int result = r.Next(1000000, 9999999); Console.WriteLine(result); }
Random r = new Random(); for (int i = 0; i < 100; i++) { int result = r.Next(1000000, 9999999); Console.WriteLine(result); }