What?s the advantage of using System.Text.StringBuilder over
System.String?
Answer Posted / rahul
StringBuilder is more efficient in the cases, where a lot
of manipulation is done to the text. Strings are immutable,
so each time it?s being operated on, a new instance is created.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Why would you use untrusted verification?
What are the different states of a thread?
How does a while loop work?
What's the difference between System.String and System..StringBuilder in C#?
What is overriding in c#?
Is Multiple-inheritance supported by c#?
List some Advantages of switch-case over if else?
What is difference between a constant and read-only in C#?
What do you mean by object pooling?
What is data set in c#?
How assembly versioning in .NET prevent DLL Hell problem?
Define a jagged array in c#?
What does ienumerable mean?
Explain the 3 types of properties in c# with an example?
What is boxing in c#?