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

Explain dependency resolution?

1058


What is Differnce between html.action and ajax.action?

1001


What are the components of the .net framework.

1044


My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?

1000


What is .net framework used for?

1017


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

2280


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

2573


How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

918


What is the use of the default route {resource}.axd/{*pathinfo} ?

1009


Possible ways to prevent xss attacks on mvc application?

999


What are action filters?

1028


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

965


What is domain class model?

1016


What is partialview in asp.net mvc?

1040


What is an asynchronous controller in asp.net mvc?

1038