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

How can I get around scope problems in a try/catch?

920


Explain about ODP.net

1242


What is string class in c#?

890


How are Windows programs different from normal C-programs?

2223


Which is faster hashtable or dictionary?

977


What is an event in c#?

897


Why is static constructor called first?

906


What is Implementation inheritance and interface inheritance?

1007


What are indexers in c# .net?

968


How many constructors can a class have c#?

913


When should you use generics?

929


What is fcl in c#?

874


if a method is marked as protected internal who can access it?

1044


Can we maintain state in webservice?

987


How to generate strong name key file or which command is used to generated strong name key file?

950