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
What are the two ways to add constraints to a route?
Explain what languages does the .net framework support?
What is the advantage of mvc?
Why we need a separate mobile project template, while we can render our web application in mobile ?
What are Scaffold templates in ASP.Net MVC?
How to return the JSON from action method in ASP.Net MVC?
How to update one of my table in database at 4pm every day how it is possible?
What type of filter does outputcacheattribute class represents?
What does a viewmodel do?
mention what is code first approach and model first approach in entity framework?
How we can handle the exception at controller level in ASP.Net MVC?
How we can call a javascript function on the change of a dropdown list in mvc?
What are the advantages of asp.net mvc?
Difference between ASP.NET MVC and ASP.NET WebForms?
Explain entity lifecycle? : Entity framework