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

What is a bool in c#?

817


What are controls in c#?

897


How do I format in c#?

825


Explain the types of Polymorphism.

1044


What does m mean in decimal c#?

846


What is the difference between array and arraylist c#?

970


List out two different types of errors in c#?

881


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

907


What is difference between const and static in c#?

924


Are structs value types or reference types?

997


Which control cannot be placed in mdi?

931


What is the meaning of console writeline in c#?

825


Why dependency injection is used in c#?

902


Can abstract class be instantiated c#?

888


What is the data provider name to connect to access database?

920