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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is response redirect in c#?

483


What to implement on my class Finalize or IDisposable

559


What is an assembly in .net?

575


what are windows services?

522


What's the difference between an integer and int?

536






What is delegates in c# and uses of delegates?

472


How to find type of variable?

545


What is the difference between an implicit conversion and an explicit conversion?

495


How can we set class to be inherited, but prevent the method from being over-ridden?

536


What is event delegate in c#?

582


What is Inheritance in C#?

576


Distinguish between continue and break statement?

566


Why use “using” in c#?

529


Show us in simple steps to create setup & deployment project for windows application?

499


Explain manifest & metadata in c#.

537