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
From which base class do all Web Forms inherit from?
Explain the difference between abstract class and interface.
Why is static constructor called first?
What is the lock statement in c#?
What are extensions methods in c#?
What are the uses of namespaces?
Can fields inside a class be virtual?
How more than one version of an assembly can keep in same place?
Is versioning applicable to private assemblies?
What is c# entity framework?
What is clr in c#?
What are reflections in c#?
What happens if a static constructor throws an exception?
What is msil in c#?
Can an array be null c#?