What?s the advantage of using System.Text.StringBuilder over
System.String?

Answers were Sorted based on User's Feedback



What?s the advantage of using System.Text.StringBuilder over System.String?..

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

What?s the advantage of using System.Text.StringBuilder over System.String?..

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

What?s the advantage of using System.Text.StringBuilder over System.String?..

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

Post New Answer

More C Sharp Interview Questions

What is the use of 'using' statement in c#?

0 Answers  


Why use a singleton instead of static methods?

0 Answers  


What is the gac, and where is it located?

1 Answers  


What is Dependency of Injection?

0 Answers  


What is the use of regex in c#?

0 Answers  






What is the difference between <c> and <code> xml documentation tag?

0 Answers  


What Is An Interface Class?

0 Answers   Siebel Systems,


What is the Signification of the "new " keyword in C#? example

0 Answers   Wipro,


What is the difference between throw and throw ex?

0 Answers  


What is token in c#?

0 Answers  


What is for loop in c#?

0 Answers  


Give an example of a ctype.

0 Answers  


Categories