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

Are c# generics the same as c++ templates?

863


How can you use abstract class and interface?

1066


Explain the serialization in .net

937


Is string a primitive data type in c#?

807


What is difference between event and delegate in c#?

862


Is c# slower than java?

837


How the versioning applies to Assemblies or can you explain version numbers?

968


Describe how a .net application is compiled and executed

867


Is int a struct in c#?

860


Why abstract class is not instantiated in c#?

891


What is type safe code?

831


What is an icollection in c#?

825


What is the difference between interface and abstract class in c#?

853


What is Named parameter in C#?

933


What is the use of parse in c#?

829