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 / poornima

Value Types:

All numeric data types

Boolean, Char, and Date

All structures, even if their members are reference types

Enumerations, since their underlying type is always SByte,
Short, Integer, Long, Byte, UShort, UInteger, or ULong

Reference Types:
String

All arrays, even if their elements are value types

Class types, such as Form

Delegates

1..In value type data stored on stack memory.
2..In reference type data stored on heap memory.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can int be null c#?

874


What is the default modifier for class in c#?

915


Explain the types of errors in c#?

851


What is tuple in c#?

859


Is python easier than c#?

884


What is ControlBox Propertie

954


Explain publishers and subscribers in events.

892


What do you mean by the delegate in c#?

849


What are handlers in c#?

914


Is there a way to force garbage collection?

949


What is the difference between icomparer and icomparable in c#?

879


Can you inherit multiple abstract classes in c#?

878


What exception can an overridden method throw in comparison with the method it is overriding?

813


What is difference between for and foreach loop in c#?

945


What are the properties of c#?

908