Answer Posted / 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 View All Answers
i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?
how do you query in entity model when the result has a join from from different database other than the entity model?
what do you mean by table-per-type?
What is MVVM design pattern?
How we can register the Area in ASP.Net MVC?
How we can add the CSS in ASP.Net MVC?
What is a razor file?
I want ask from plz smaple example code for Biztalkk server
Explain what is routing?
What is a model in android?
What is iobjectset? : Entity framework
Explain what platforms does the .net framework run on?
How to change the action name in mvc?
How to bind table colum with gridview column?
What you mean by routing in asp.net mvc?