Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / rahul

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why would you use untrusted verification?

931


What are the different states of a thread?

928


How does a while loop work?

879


What's the difference between System.String and System..StringBuilder in C#?

1008


What is overriding in c#?

885


Is Multiple-inheritance supported by c#?

991


List some Advantages of switch-case over if else?

933


What is difference between a constant and read-only in C#?

965


What do you mean by object pooling?

1039


What is data set in c#?

932


How assembly versioning in .NET prevent DLL Hell problem?

955


Define a jagged array in c#?

903


What does ienumerable mean?

911


Explain the 3 types of properties in c# with an example?

1073


What is boxing in c#?

982