What is Value type and reference type in .Net
Answer / 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 |
Is it possible to share a view across multiple controllers?
What is the use of dataadapter ?
Explain what is routing?
What are Model Binders in ASP.Net MVC?
If I have multiple filters implemented, what is the order in which these filters get executed?
Is CLR is compiler or Interpreter
Why is entity framework used?
Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables?
What is Peek method in Tempdata in ASP.Net MVC?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
If you are using components in your application, how can you handle exceptions raised in a component ?
4 Answers Accenture, BirlaSoft,
When was .NET announced