标签:
private String GetRandomint(int codeCount) { Random random = new Random(); string min = ""; string max = ""; for (int i = 0; i < codeCount; i++) { min +="1"; max+="9"; } return (random.Next(Convert.ToInt32(min),Convert.ToInt32(max)).ToString()); }
标签:
原文地址:http://www.cnblogs.com/hornet/p/4176578.html