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 |
who handles these error while writing the source code???.
Can you explain model, controller and view in mvc?
Iam using an asp.net application . i want to update one of my table in database at 4pm every day how it is possible.
When was the first version of .NET released
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
What is controllercontext?
will there be any issues adding a table without primary keys to a data model?
Explain peek method in tempdata in asp.net mvc?
What is the difference between model view and controller?
Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?
What is the difference between structures and enumeration ?
What is MSIL, IL, CTS?