StringBuilder strBuilder = new StringBuilder();
strBuilder.Append('1');
strBuilder.Append("=");
strBuilder.Append(2);
strBuilder.Append("那是");
strBuilder.Append(true);
strBuilder.Append("\n");
strBuilder.Append(new char[]{'a','b'});
strBuilder.Append("-这个东西是字符数组\n");
strBuilder.Append(new Object());
strBuilder.Append("--你看给它整一个Object对象都行.....\n");
strBuilder.Append("你想要更全更详细更好更多的,你看MSDN吧");
strBuilder.Append("请看以下链接。。。\n");
strBuilder.Append("ms-help://MS.MSDNQTR.v90.chs/fxref_mscorlib/html/aa02f9d8-ff58-e09d-fa24-4ead7f57befc.htm\n");
strBuilder.Append("^_^");
strBuilder.Append("^_^");
Console.WriteLine(strBuilder); |