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 difference between value and reference types ?

Answer Posted / gowthami

value types are stored in the memory.
reference types are stored in the heap.
all implicit datatypes,enums,structs are value types.
delegates,objects are reference types..
pointer to the heap where the data is located is maintained
in the stack
when we delete a reference type pointer to the heap is
deleted from the stack

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is dictionary reference type c#?

826


what class is underneath the sortedlist class?

963


If casting fails what type of exception is thrown?

886


What are the 2 types of data types available in c#?

897


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

1057


What is the meaning of MSIL?

1258


What are the Types of caching

1016


Is null empty or whitespace c#?

964


What is a multicast delegate in c#?

987


how to implement a web service in .net

975


How do you escape a character?

943


What is the difference between double and decimal in c#?

966


What is transparent caching with aop ?

1095


Why is c# used?

923


What is xml comments in c#?

886