Answer Posted / kirti
Value Type : A variable of a value type always contains a value of that type. The assignment to a variable of a value type creates a copy of the assigned value, while the assignment to a variable of a reference type creates a copy of the reference but not of the referenced object.
The value types consist of two main categories:
* Stuct Type
* Enumeration Type
Reference Type :Variables of reference types, referred to as objects, store references to the actual data. This section introduces the following keywords used to declare reference types:
* Class
* Interface
* Delegate
This section also introduces the following built-in reference types:
* object
* string
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How large is the .net framework 3.0?
What is the difference between partial and renderpartial?
what is model first approach?
Is it possible to share a view across multiple controllers?
List the new features added in .net framework 4.0.
How to use multiple submit buttons in asp.net mvc?
What is the difference between tempdata and viewbag?
What is the difference between model view and controller?
what is use of entity container?
Mention two instances where routing is not implemented or required?
what is explicit loading?
Explain the methods used to render the views in mvc?
What is routeconfig.cs in mvc 4?
Can you explain renderbody and renderpage in asp.net mvc?
Can any particular component of .net framework 3.0 be removed?