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
What is the use of console readline () in c#?
What is data reader in c#?
What is the difference between field and property in c#?
What are anonymous types in c#?
How do I create a dbml file?
What are annotations in c#?
Explain how do you directly call a native function exported from a dll?
Is a dll an assembly?
Can arraylist hold primitive types?
What is the difference between first and firstordefault?
What does return do in for loop?
In howmany ways can you deploy an assembly?
What is tryparse?
What are the benefits of using generics in c#?
What is method overriding in c#