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
How to make sure Client Validation is enabled in ASP.Net MVC
What is object service? : Entity framework
What is page life cycle?
What is renderbody?
Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?
What is entityset? : Entity framework
i want to take the fast track training on >net Frame work and work flows and share point could you tellme the good institutes for that cources
mention what is the key advantage of using entity framework or ef?
What happens when I install the .net framework 3.0? How can I upgrade if I already have the .net framework 2.0 installed?
what is minimum requirement for entity framework applications to run?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
Is it possible to create a custom filter?
Give an example for authorization filters in an asp.net mvc application?
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
What is the difference between model and entity?