Check out example codes for "c# append in strigbuilder". It will help you in understanding the concepts better.

Code Example 1

StringBuilder sb = new StringBuilder();
sb.Append("Hello ");
sb.AppendLine("World!");
sb.AppendLine("Hello C#");
Console.WriteLine(sb);

Learn ReactJs, React Native from akashmittal.com