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 are the examples of data types?

988


What is console read in c#?

903


What's the difference between System.String and System..StringBuilder in C#?

1008


Explain the use of Mutex in C#?

1019


Can hashset contain duplicates c#?

953


Explain the difference between .net and c#?

940


What is the example of predicate?

921


What is constructors, explain with syntax

938


What is difference between private and protected?

1005


Describe ways of cleaning up objects in c#.

904


What is distribute by in hive?

1076


What are instance fields in c#?

1001


Define a jagged array in c#?

903


Is it possible to inherit multiple interfaces?

1012


Can you explicitly call a destructor?

933