码迷,mamicode.com
首页 > 移动开发 > 详细

StringBuilder.sb.AppendLine();

时间:2016-06-04 00:34:11      阅读:525      评论:0      收藏:0      [点我收藏+]

标签:

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();

StringBuilder.sb.AppendLine();

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!