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 / ashwini choudhari

string class u can't directly the change the string value
and u want to do some manipulation with the string object
then it's give the new memory in stack when u can the do
the manipulation with the string object but in String
Builder class not happened to give the new memory
allocation in stack it just repalcing the some part of
string which u want repalce or appended so that the
performances increases.
Actually String Builder it is referneces type .

Is This Answer Correct ?    11 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of polymorphism are there?

938


What is the role of the datareader class in ado.net connections?

905


How do I stop my console from closing in c#?

904


What is parallel programming in c#?

923


What is array class in c#?

840


What is single dimensional array in c#?

931


What does the dispose method do with the connection object?

963


What is array and its types in c#?

927


Are all methods virtual in c#?

941


How to rotate an Image in C#?

1097


Expalin the way you implement inheritance by using VB.NET/C#?

954


Define multicast c# delegate?

954


What is primitive types in c#?

863


What is scope c#?

868


What is virtual in c#?

880