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 |
Explain linq to entities? : Entity framework
differences between poco, model first and data first approach?
explain how you can load related entities in ef (entity framework)?
please tell me the best book of asp.net in the markit. which explain in simple and detail.
Explain what platforms does the .net framework run on?
how can you enhance the performance of entity framework?
Where are the routing rules defined in an asp.net mvc application?
what do you mean by table-per-type?
What is entityset? : Entity framework
What are multicast delegates ? give me an example
How is method overriding different from method overloading
Which version of .net framework is installed?