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

Can a struct be null?

0 Answers  


How to reduce image resolution in C#?

0 Answers   IBM,


What is the purpose of a namespace?

0 Answers  


What is the use of tryparse in c#?

0 Answers  


What is global namespace in c#?

0 Answers  






Are cao stateful in nature?

0 Answers  


What are the advantages of generics in c#?

0 Answers  


What is the delegate in c#?

0 Answers  


Is c# used for frontend or backend?

0 Answers  


What is a static property. Give an example?

0 Answers  


What is the syntax for calling an overloaded constructor within a constructor?

0 Answers  


Does unity require coding?

0 Answers  


Categories