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 is difference between c and c sharp?

938


How can we set the class to be inherited, but prevent the method from being over-ridden?

983


Describe the types of comments in c#?

899


What is meant by generics in c#?

913


I want to print "Hello" even before main() is executed. How will you achieve that?

899


What is interface c#?

862


Define method overloading in c#?

972


What is the use of static members with example using c#.net.

912


Does c# support const methods, properties, or events?

960


Could you explain the difference between func vs action vs predicate?

854


Can properties be private in c#?

899


What is a deadlock lock?

927


How to declares a two-dimensional array in C#?

1018


What is the difference between serialization and deserialization in c#?

1033


What is the difference between select and selectmany?

927