程序功能:生成1到9999999之间数字+用户指定的字符串
int i=0;
while (i < 100000)
{
num += 10;
str += num.ToString() + "\r\n";
i++;
}//每行大约18个字符左右。num是7位以内整数
textBox1.text=str;
System.Text.StringBuilder sb = new System.Text.StringBuilder();
int i=0;
while (i < 100000)
{
num += 10;
sb.Append(num.ToString() + "\r\n");
i++;
}//每行大约18个字符左右。num是7位以内整数
textBox1.text=sb.ToString();