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 / anonymous

The performance of your program is improved by using String
builder. When trying to concatenate old string + new
string...A new memory is allocated for the new string and
the old one is copied onto the new one. This is quite a
lengthy procedure, though it happens internally, it will
have a major impact on the performance of your program. To
overcome, this problem you can go for String builder.

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is list passed by reference c#?

848


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

816


Is typeof c#?

944


Is there hashmap in c#?

884


What is jit (just in time)?

934


What is pure abstract class in c#?

862


What debugging tools come with the .NET ssSDK?

1197


List down the access modifiers available in c#?

833


What is native image generator (ngen.exe)?

1185


What is a namespace server?

867


What is meaning of type safety in c#?

805


What is yield return in c#?

902


What is #region in c#?

896


What is the difference between malloc () and new?

980


What are extensions methods in c#?

829