What is the Difference between value and reference type?
Answer Posted / ravi
1. value type contain variable and reference type are not
containing value directly in its memory.
2.memory is allocated in managed heapin reference type and
in value type memory allocated in stack.
3.reference type ex-class
value type-struct, enumeration
| Is This Answer Correct ? | 36 Yes | 9 No |
Post New Answer View All Answers
What is the difference between c and c# programming?
Is python easier than c#?
Will the following code compile?
Explain the use of SN.exe
What is the and operator in c#?
Can a class or a struct have multiple constructors?
Explain about Error handling and how this is done
How to sign an assembly with strong name?
What is polymorphism in c sharp?
Which operator cannot be overloaded in c sharp?
Which are access modifiers available in c#?
In which way you can convert a value-type to a reference-type?
What is session state in asp net c# with example?
What are data types with examples?
Define acid rule of thumb for transactions in c#.