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

Does a class need a constructor c#?

911


What is a sealed class?

929


What is a three-tier application.

1048


What is difference between class and interface in c#?

924


What is c# console application?

947


What is the difference between asp net and c#?

920


What is a console in c#?

857


What does exclamation mark mean c#?

1016


What is the use of partial methods?

1059


what is difference between is and as operators in c#?

995


What is difference between int and int in c#?

963


Explain polymorphism in c# with a simple example?

932


How to update the gui from another thread in c#?

989


What is difference between ienumerable and list in c#?

874


Does the variables of a private class-level inherited?

1017