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

In stringBuilder we can modify original value
example: suppose a string "Swti" in that string we add a
after charator w then we can easily add the char a after w
then new string is "Swati"

But in string we can't modify original value we add add
another value in original value use concate function.
example: suppose a string is "Swati" in that string we
concate another string means "Pandey" by using concate
function

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can class inherit from struct c#?

969


How can you access a private method of a class?

999


What are the 4 pillars of any object oriented programming language?

879


Does a class need a constructor c#?

908


What is the difference between const and static read-only?

926


In how many ways you can overload a method?

1057


What are the Types of values mode can hold session state in web.config

990


Is java better than c sharp?

952


What is interface c#?

866


What is difference between override and new in c#?

1091


Which namespaces are necessary to create a localized application?

1050


How many static constructors are allowed in a class?

941


What do you mean by thread safe in c#?

882


Can derived classes have greater accessibility than their base types?

934


how dot net compiled code will become platform independent?

931