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’s the advantage of using System.Text.StringBuilder
over System.String?

Answer Posted / panchdev

stringbuilder:-
1-This class represents a string-like object whose value is a mutable sequence of characters.
2- The value is said to be mutable because it can be modified once it has been created by appending, removing, replacing, or inserting characters. For comparison, see the String class.
3-The default capacity for this implementation is 16, and the default maximum capacity is Int32.
string:-
1-A String object is called immutable (read-only) because its value cannot be modified once it has been created. Methods that appear to modify a String object actually return a new String object that contains the modification. If it is necessary to modify the actual contents of a string-like object, use the System.Text.StringBuilder class.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is edm in entity framework?

939


What is main objective of asp.net mvc 4 or what is new in mvc4 ?

1059


what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?

2241


What is the use of razor view engine?

926


How to Create an Intranet Site Using ASP.NET MVC?

1042


What is viewstart page in mvc?

968


What is the need of Action Filters in ASP.Net MVC

1049


What are the main features of asp.net mvc 4 used by asp.net web api?

1028


What is meant by viewdata?

935


What is the 'page life cycle' of an ASP.NET MVC?

1002


Is it possible to cancel filter execution?

969


What is disconnected scenario? : Entity framework

1015


Explain what languages does the .net framework support?

924


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

948


Explain the new features 3.5 framework against with the tool?

907