What is the Difference between value and reference type?
Answer Posted / purish dwivedi
A variable that is a value type, stores the data, while a
variable of a reference type stores a reference to the data.
Value types are stored directly on the stack while Reference
types are stored on the run-time heap.
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
Which .gang of four. Design pattern is shown below?
How Is The Dll Hell Problem Solved In .net?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
What is a virtual property. Give an example?
What are desktop applications examples?
What is the difference between method and function in c#?
What is different about switch statements in c#?
update data in an xml file which resides in solution itself, using silverlight 4.0
How does one compare strings in c#?
What is the difference between icomparer and icomparable in c#?
How do I create a multilanguage, single-file assembly?
What are accessors?
what is virtual method in c#?
How can you use abstract class and interface?
What is the difference between struct and class c#?