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 are modifiers in c#?

875


What is the max value of int32 in c#?

921


What are the characteristics of c#?

911


What is the difference between CreateObject() and GetObject()?

1123


Can you access a hidden base class method in the derived class?

920


What does clr stand for?

919


How do I create multifile assembly?

934


what is IEquatable

999


What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

1050


Is void a class?

871


How to sort an int array in c#?

964


Why do we use delegates in c#?

916


What is gui in c#?

973


What is difference between property and variable in c#?

877


What are some examples of desktop applications?

934