//string str = new string('a', 21);
//Console.WriteLine(str);
//Console.ReadKey()
string str="";
for (int i = 0; i < 20; i++)
{
str += "A";
}
Console.WriteLine(str);
Console.ReadKey();
转载于:https://www.cnblogs.com/haimingkaifa/p/5358663.html