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

Explain the difference between “as” and “is” operators used in c#?

948


Why data types are important?

950


Explain how to implement delegates in c#.net

947


What is serialization of data?

989


What is default boolean value in c#?

962


What is clr namespace?

1020


Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?

915


What is ienumerable <> in c#?

892


How to add a readonly property in c#.net

925


What is difference between an Structure and Class?

1105


What is jagged array?

917


What is difference between private, protected, and public in C#?

1052


What is interface c#?

861


Can arraylist store different data types in c#?

990


Define clr in .net?

979