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
Can class be protected in c#?
Why do we use class in c#?
Explain Constructor and destructor?
How can I make sure my c# classes will interoperate with other .net languages?
Is c and c# the same?
What is an escape sequence?
What do you mean by jagged arrays in c#?
Explain the difference between .net and c#?
What is delegation in oops?
What are variables in c#?
What is a partial class in c#?
Define parsing?
What is uint64?
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
What is data annotation in c#?