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 difference between the debug class and trace class?

0 Answers   Rolta,


What is oledbconnection c#?

0 Answers  


Differentiate between sqlclient oledb and providers?

0 Answers  


What are extender provider components? Explain how to use an extender provider in the project.

0 Answers  


Do vs while c#?

0 Answers  






What is a hash table in c#?

0 Answers  


What is an assembly qualified name

0 Answers  


What is trim in c#?

0 Answers  


Can a dictionary have the same key?

0 Answers  


is it possible to access a remote web service Without UDDI?

0 Answers   TCS,


What is function c#?

0 Answers  


Contrast System.String and System.Text.StringBuilder classes?

0 Answers   Siebel,


Categories