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());
        }

相关文章:

  • 2022-12-23
  • 2021-07-11
  • 2021-11-12
  • 2021-05-20
  • 2022-03-01
猜你喜欢
  • 2022-01-08
  • 2022-02-03
  • 2021-07-23
  • 2022-01-05
相关资源
相似解决方案