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 new method in c#?
What is the difference between == and object.equals?
What is a streamwriter in c#?
What is the difference between select and selectmany?
Is static thread safe?
What is the difference between namespace and class?
What is difference between continue and break in c#?
What is pure abstract class in c#?
Why do we use struct in c#?
What is different between Implicit conversion and Explicit conversion in C#?
Are cao stateful in nature?
What is foreach loop in c#?
What do you know about Translate Accelerator?
What is the process of delegation?
How do I get deterministic finalization in c#?