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 |
how do you query in entity model when the result has a join from from different database other than the entity model?
In which testing using in .net framwork?
Explain the use of Inversion of control (IOC)?
Which version of .net framework is installed?
What is work of clr?
Which is the best institute for .net?
If we want to construct our own Garbage collector what are the steps things we have to do?
3 Answers Honeywell, Semantic Space,
Is the lack of deterministic destruction in .NET a problem
And if they have conflicting method names ?
What is the difference b/w constant & read only variable?
4 Answers IMI Soft Engineering,
What is .net framework in simple terms?
Can you draw and explain the .NET Farmework?