What?s the advantage of using System.Text.StringBuilder over
System.String?
Answer Posted / kirti
StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time it's being operated on, a new instance is created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do switch statements work?
How do I do a case-insensitive string comparison?
What do constructors do in c#?
How string definitions will prevent escaping on backslashes in C#?
How does c# generics and c++ templates compare?
Name some properties of thread class.
What's the difference between an integer and int?
What is difference between ienumerable and enumerable in c#?
In which way a two-dimensional array declared in C#?
What is method and function in c#?
What does void do in c#?
What does do in c#?
What are floating point numbers?
What is the difference between early binding and late binding in c#?
Why is it not a good idea to use empty destructors?