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

What is a hashset c#?

958


What is default parameter in c#?

903


What do you understand by 'access specifiers' in C#?

851


Difference between directcast and ctype.

958


Define multicast c# delegate?

906


Can c# inherit multiple classes?

900


What is the default value of date?

873


What is parallel foreach in c#?

915


How does dll hell solve in .net?

915


What is the use of tryparse in c#?

854


What is an Interface in C#?

925


In c#, what will happen if you do not explicitly provide a constructor for a class?

905


What is difference between c sharp and c#?

840


What is a float?

843


Can you inherit from a sealed class?

847