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 difference between encapsulation and abstraction in c#?
How do you create empty strings in c#?
What are Namespaces?
What is a collection in c#?
What is Inheritance in C#?
Define interface class in c#?
Explain about accessibility modifier 'protected internal'?
What are extension methods and where can we use them?
How can we set the class to be inherited, but prevent the method from being over-ridden?
What is asynchronous one-way calls?
How to transpose multi-dimensional array?
Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?
What is the difference between finally and finalize block?
What is the use of convert toint32 in c#?
What is ado net in c#?