StringBuilder.sb.AppendLine();

时间:2016-06-04 00:33:18   收藏:0   阅读:384

StringBuilder sb=new StringBuilder();
sb.AppendLine("The world is fair and wonderful.Everything depend on myself");
sb.AppendLine("Stay focused and keep shipping");
sb.AppendLine("Devote myself into the present job");
sb.AppendLine("Cherish the present moment and make every second count!");
Console.WriteLine(sb.ToString());

Console.WriteLine(sb.Length);

Console.ReadLine();

原文:http://www.cnblogs.com/Fred1987/p/5557817.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!