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

What is collection class c#?

970


What is string [] args in c#?

994


What is an int c#?

912


Does c# support properties of array types?

968


What is the difference between integer and double?

970


How to find whether the application is run from inside ide or not?

1092


Where is c# compiler located?

961


Is c# good for games?

919


What is difference between comparable and comparator?

952


What is an argument in c#?

1004


To allow an element to be accessed using a unique key which .NET collection class is used ?

1133


Can a sealed class be used as a base class?

1023


What is meant by desktop application?

984


Explain about accessibility modifier 'protected internal'?

1058


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

942