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



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

Answer / swapna

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 ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is iqueryable in c#?

0 Answers  


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

0 Answers   Siebel,


Is dictionary reference type c#?

0 Answers  


What are strin concatation methods in c#?

1 Answers   Phoenix Technologies,


Difference between C++ and C#.net

19 Answers   Google, TCS, Wipro,






Which operator cannot be overloaded in c sharp?

0 Answers  


One start and stop button is there and one textbox is there.when you click start button ,it will display 1,2,3......up to infinite in textbox.when you click stop button it will stop.

1 Answers  


Is the following code legal?

0 Answers  


What is thread.sleep()?

0 Answers  


What's the c# syntax to catch any possible exception?

0 Answers  


Define c# delegate?

0 Answers  


Why delegate is used in c#?

0 Answers  


Categories