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

Which is better interface or abstract class in c#?

0 Answers  


What is a nested type. Give an example?

0 Answers  


What do you mean by jagged arrays in c#?

0 Answers  


What is difference between the "throw" and "throw ex" in .net?

0 Answers  


Explain about throw keyword?

10 Answers   Emphasis, HCL, Satyam,






What is an example of a delegate?

0 Answers  


What is Asynchronous call and how it can be implemented using delegates?

0 Answers  


What is native image generator (ngen.exe)?

0 Answers  


What is generic method in c#?

0 Answers  


What is a console operator?

0 Answers  


What is xaml in c#?

0 Answers  


what happens if you inherit multiple interfaces and they have conflicting method names?

0 Answers   Siebel Systems,


Categories