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 is the Main difference between String and
StringBuilder and why do we use StringBuilder.

Answer Posted / amit chaudhary

String and stringbuilder both methods are used to handle the
strings . the main differece between them in string
everytime a object has to be created for Operations like
append,Insert etc. at runtime but in case of stringbuilder
we can operate operations on same object. means the string
method is mutable and stringbuilder method is immutable

Is This Answer Correct ?    15 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are cao stateful in nature?

911


Why do we need private constructor in c#?

888


What is the default boolean value in c#?

958


What are expressions c#?

914


What is serializable in c#?

908


What does dbml mean in texting?

928


What is an icollection in c#?

894


How do I unload an application domain?

952


What is a bool in c#?

866


What is extension method in c# and how to use them?

930


Do unused Namespaces in c# affect run-time performance?

1038


What is a web service in c#?

1145


If I return out of a try/finally in c#, does the code in the finally-clause run?

980


How many types of constructor are there in c#?

909


How to sort an int array in c#?

955