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 is Reference type and value type



What is Reference type and value type..

Answer / kirti

Reference Type:

Reference types are allocated on the managed CLR heap, just like object types.

A data type that is stored as a reference to the value's location. The value of a reference type is the location of the sequence of bits

that represent the type's data. Reference types can be self-describing types, pointer types, or interface types

Value Type:

Value types are allocated on the stack just like primitive types in VBScript, VB6 and C/C++. Value types are not instantiated using new go out of scope when the function they are defined within returns.

Value types in the CLR are defined as types that derive from system.valueType.

A data type that fully describes a value by specifying the sequence of bits that constitutes the value's representation. Type information for a value type instance is not stored with the instance at run time, but it is available in metadata. Value type instances can be treated as objects using boxing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Can I set the unlimited length for "maxjsonlength" property in config?

0 Answers  


How route table is created in ASP.NET MVC?

0 Answers   NA,


What is different between User Control and Web Control and Custom Control?

2 Answers  


Iam using an asp.net application . i want to update one of my table in database at 4pm every day how it is possible.

6 Answers   ABC, Evalueserve,


Diffence between .net framework 1.0 and 2.0?

2 Answers   DataPoint,


Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?

0 Answers  


Does .NET Framework support SAX?

0 Answers   Wipro,


What is a model in android?

0 Answers  


What is inline schema, how does it works

1 Answers  


List out few different return types of a controller action method?

0 Answers  


What is Reference type and value type

1 Answers  


im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me

2 Answers  


Categories