StringBuilder.sb.AppendLine();

Posted Fred1987

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了StringBuilder.sb.AppendLine();相关的知识,希望对你有一定的参考价值。

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();的主要内容,如果未能解决你的问题,请参考以下文章