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

mention what is csdl, ssdl and msl sections in an edmx file?

1081


what is entity framework advantage?

1138


Explain the advantages of dependency injection (di) in asp.net mvc?

1104


What is the difference between windows vista and .net framework 3.0 ?

1052


What is the use of action filters in an mvc application?

1176


How can we determine action invoked from HTTP GET or HTTP POST?

1067


How do I use partial view?

1031


Explain the tools used for unit testing in ASP.Net MVC

1172


What symbol would you use to denote, the start of a code block in razor views?

1030


which are the key concepts of entity data model?

1146


Mention what is the difference between “ActionResult” and “ViewResult” ?

1105


What is rxjava used for?

1178


what is use of entitydatasource control?

1146


Can you explain model, controller and view in mvc?

1046


What are sections?

1198