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 Main difference between String and
StringBuilder and why do we use StringBuilder.

Answer Posted / dinesh sharma

String bulider Can Be Used When More Than One String Can we
concatenated.
StringBuilder which is more efficient because it does
contain a mutable string buffer. .NET Strings are immutable
which is the reason why a new string object is created
every time we alter it (insert, append, remove, etc.).

StringBulider Is more Effiecent Then String B'Cuse It
Provide Some Standered Function like Append,Reverse,Remove
etc.

Is This Answer Correct ?    179 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the initial catalog parameter define in the connection string?

975


Is there throws keyword in c#?

945


What is the real use of interface in c#?

976


Can we declare class as protected?

1046


Write one code example for compile time binding and one for run time binding? What is early/late binding?

1066


What is extended class in c#?

963


What is cosole application?

1170


What is a namespace server?

962


What is event and delegates in c#?

1035


What is callback method in c#?

982


What is the base class from which all value types are derived?

983


Explain async and await?

1930


What is difference between continue and break in c#?

1010


What is an array of arrays called?

916


Explain hash table in c# ?

1116