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 / article

Hi..

Mutable & Immutable

1)string is immutabel.
i.e. whenever you create any changes to a string a new
object is created in memory.
2)StringBuilder has advantage String
To overcome this the stringBuilder is provided we can make
ammendments to the stringBuilder object without creating a
new object. Therefore whenever a lot operations are to be
made on a string then StringBuilder should be used in place
of String.

Thank's
Pradhan Prasanta Kumar
http://globaltouch.in

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is client side state management?

902


How do you remove duplicates without using remove duplicate stage?

999


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

987


how to transfer the file from client to server using asp.net

1055


Why asp.net mvc is better than asp.net? : Asp.Net MVC

1040


What does the .webpart file do?

991


Explain the difference between value type and reference type?

601


List the asp.net validation controls?

901


What is session in http request?

965


What is GAC in ASP.NET 2.0

1088


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5509


What are session and cookies?

924


Explain asp.net page life cycle?

1040


What is the use of placeholder control?

961


Why do we need master page in asp.net?

907