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

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


Please Help Members By Posting Answers For Below Questions

Explain the different types of delegates used in c#.

739


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

1684


What is msil, and why should developers need an appreciation of it if at all?

829


What can be done with c#?

624


What is difference between dictionary and hashtable in c#?

662


What is an actual parameter?

680


What is null in database?

666


What is indexer c#?

662


What is system predicate?

639


How can I produce an assembly?

837


Describe the ways of cleaning up objects in c#.

714


Describe ado.net?

784


What is difference between string and stringbuffer in c#?

703


Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

706


What is polymorphism and its types in c#?

668