What?s the advantage of using System.Text.StringBuilder over
System.String?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / susan
StringBuilder is more efficient in the cases, where a lot
of manipulation is done to the text. Strings are immutable,
so each time it is being operated on, a new instance is created.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
What is the use of 'using' statement in c#?
Why use a singleton instead of static methods?
What is the gac, and where is it located?
What is Dependency of Injection?
What is the use of regex in c#?
What is the difference between <c> and <code> xml documentation tag?
What Is An Interface Class?
What is the Signification of the "new " keyword in C#? example
What is the difference between throw and throw ex?
What is token in c#?
What is for loop in c#?
Give an example of a ctype.