先生成1~1000的随机数 class Program { // Create a new instance of the RNGCryptoServiceProvider. private static System.Security.Cryptography.RNGCryptoServiceProvider rng = new System.Security.Cryptography.RNGCryptoServiceProvider(); static void Main(string[]…