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 difference between System.String and
System.StringBuilder classes?

Answer Posted / davender arora

sytem.string is immutable it means if we r performing
string manipulations new memory is allocated each time
eg:string a=dev; a=arora; in this case new memory is
created a=arora and previously a=dev wil be deleted.so
major impact on performance but string builder is mutable
so same memory wil be updated for the same so good
performance.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of comments in c#?

972


How do I enforce const correctness in c#?

932


Is c# difficult to learn?

859


is it possible to access a remote web service Without UDDI?

1006


Can we extend sealed class in c#?

906


Are c# strings immutable?

883


What is the difference between double and decimal in c#?

959


What is the difference between string keyword and system.string class?

1082


Why extension method is static?

908


What is lazy loading c#?

1029


Can non-default constructors be used with single call sao?

1021


Which of these statements correctly declares a two-dimensional array in c#?

1059


What is difference between singleordefault and firstordefault?

910


What are generations and how are they used by the garbage collector?

917


What is a dictionary in c#?

883