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 |
What is stateless model?
mention what is the key advantage of using entity framework or ef?
Which is the institute which also caters to your personal development other than subject.
What is layout in mvc?
How do I define my own code group
Is .net framework going away?
Tell me about the internal working of Garbage collector?
what is complex type?
How does �side by side� work for the .net framework 3.0?
How to Insert a TextBox value in to Sql database using C#.Net coding
Explain .Net Framework? Why we use it?
Explain ASP.NET MVC Identity and Security?