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 / guest

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

Post New Answer

More C Sharp Interview Questions

What is the difference between system.string and system.text.stringbuilder classes?

0 Answers  


What is Lambda Expression?

1 Answers  


What is an int in c#?

0 Answers  


What is firstordefault c#?

0 Answers  


What is double c#?

0 Answers  


Why generics are used in c#?

0 Answers  


Can we inherit an abstract class in another abstract class. If no why and If yes how..?

2 Answers  


What is default value of enum c#?

0 Answers  


How?s method overriding different from overloading?

2 Answers   Visual Soft,


What does char mean in c#?

0 Answers  


What is difference between singleordefault and firstordefault?

0 Answers  


Is c# easier than c++?

0 Answers  


Categories