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

Data Type are 2 Kinds. they are 1) Value Data Type 2) Reference Data Type.

1) Value Data Types are stored in Stack Memory Location( bool,byte,char,decimal,double,enum,float,int,long,struct,short and uint)


2) Reference Data Type are stored in Heap Memory Location(Class,Object,Array,Interface,Delegate and Dynamic).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the nature of the assembly work?

2493


What are the different types of assembly?

981


When do you generally use a class over a struct?

913


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

921


Which is faster array or arraylist in c#?

847


Is c# used for frontend or backend?

1000


Can hashtable have duplicate keys?

845


What is a template class?

923


From which base class do all Web Forms inherit from?

944


What is executereader in c#?

853


Can you instantiate a struct without using a new operator in c#?

893


Can abstract class have constructor in c#?

881


What is sqladapter c#?

896


How can you read 3rd line from a text file?

950


Does hashset allow duplicates c#?

915