C# stringbuilder

Last modified: June 30, 2021
static void Main(string[] args) { var sb = new StringBuilder(); //no new line sb.Append("a"); sb.Append("b"); //add new line for append sb.AppendLine("c"); sb.AppendLine("d"); Console.WriteLine(sb.ToString()); }