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 are value types and reference types? where they are stored?

Answer Posted / chiyan

value types holds the data directly ,no default value for
value type ex-->predefined datatypes
-->structures
-->enumarator
valuetypes will be stored in stack memory.

refe types does not holds the value directly,ref type holds
the default value ex-->arrays
-->classes
-->objects

ref types will be stored in heap memory.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net c#?

952


Define a manifest in .net?

1059


What is the benefit of using interface in c#?

1050


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

1089


Tell me the difference between call by value and call by reference.

1017


What do you mean by for each loop?

965


Why main method is static in c#?

1001


What are escape sequences explain with example?

1020


What is the difference between Object and class adapters?

1013


Is dictionary a collection?

917


What is a deadlock lock?

972


Can you create sealed abstract class in c#?

937


How does foreach loop work in c#?

1026


Explain data types in c#?

987


What is cls, cts and clr in net?

971