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 a class in unity?

850


without modifying source code if we compile again, will it be generated MSIL again?

869


Explain polymorphism in c# with a simple example?

878


What is private constructor c#?

863


Why do canadians say zed?

969


Is inheritance possible in c sharp?

1009


Is the following code legal?

938


What are the basics of c#?

986


What are the principles of delegation?

904


What is access modifier in c#?

855


What are abstract classes in c#?

844


How do you escape in c#?

894


Is c# used for frontend or backend?

1013


What is system console writeline in c#?

955


What is the difference between properties and indexer in c#?

867