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 the difference between // comments, /* */ comments and /// comments?

892


Can we declare class as protected?

1046


What is overloading in c#?

957


Is std :: string null terminated?

959


How do you sort a list in c#?

909


What is the default value of decimal in c#?

965


Why do we use parameters in c#?

1000


what is full assembly reference

1022


Which function is the entry point for a DLL in MS Windows 3.1?

1217


What do u mean by delegation?

1000


What is Implementation inheritance and interface inheritance?

1069


What is type class in c#?

1088


what is a enumeration in c#

1097


What is appdomain in c#?

961


Why do we need abstract class?

953