Complete the code to create a new StringBuilder object.
var sb = new [1]();The StringBuilder class is used to create a mutable string object in C#. You create it by calling new StringBuilder().
Complete the code to append text to the StringBuilder.
sb.[1]("Hello");
The Append method adds text to the end of the current StringBuilder content.
Fix the error in the code to convert StringBuilder to string.
string result = sb.[1]();The correct method to convert a StringBuilder to a string is ToString() with capital 'T' and 'S'.
Fill both blanks to create a StringBuilder and append text.
var sb = new [1](); sb.[2]("World");
You create a StringBuilder object and then use Append to add text.
Fill all three blanks to create a StringBuilder, append text, and convert to string.
var sb = new [1](); sb.[2]("Hello "); sb.[3]("World"); string result = sb.ToString();
Create a StringBuilder, then use Append twice to add text pieces.
