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...

Is string reference type / value type?

Answer Posted / guru dayal roy

String is reference type. When we define a string and
initialise it creats an object and again when we try to
append something it creates a new object which contains
both the string togather. So since string initialization
creates an object we can say string is also reference type
which does not happen with other value types.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c# used?

859


Explain how can you clean up objects holding resources from within the code?

863


Define the term immutable ?

1009


What do you know about Translate Accelerator?

1003


Which one is trusted and which one is untrusted?

872


What is difference between ilist and list in c#?

912


Can we have multiple constructors in a class c#?

861


What is the console on a mac?

871


What is the difference between array and arraylist in c#?

962


Is c# dictionary a hash table?

839


What are the differences between static, public and void in c#?

989


What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

921


What is namespace in oop?

877


What is the solution if you need to manipulate sets of items?

820


What is difference between destructor and finalize?

859