Statistics
The Highest Post







Statistics
Count 94
Avg 21.00
Min 21
Max 21
Angualr Top questions

Details



Peter Agyekum Explain String Builder class in C#? This will represent the mutable string of characters and this class cannot be inherited. It allows us to Insert, Remove, Append and Replace the characters. The “ToString()” method can be used for the final string obtained from StringBuilder. <br> For example, <br> <br> StringBuilder TestBuilder = new StringBuilder("Hello"); <br> TestBuilder.Remove(2, 3); // result - "He" <br> TestBuilder.Insert(2, "lp"); // result - "Help" <br> TestBuilder.Replace('l', 'a'); // result - "Heap" <br>
Related Topics