string str = "";
Random rnd = new Random();
int ch;
for(int i = 0;i < 10000 ;i++)
{
ch = rnd.Next(97,122);
str += Convert.ToChar(ch);
}
A-Z随机取10000个字符 组成长度为10000的字符串
最新推荐文章于 2021-09-12 21:01:31 发布
string str = "";
Random rnd = new Random();
int ch;
for(int i = 0;i < 10000 ;i++)
{
ch = rnd.Next(97,122);
str += Convert.ToChar(ch);
}