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 are cookies in c#?
What are the Types of assemblies that can be created in dotnet
Give an example of removing an element from the queue?
What is a collection in c#?
what is an exception in .net?
What is Named parameter in C#?
What is generic delegates in c#?
What is the difference between disposing of () and finalize() methods in c#?
Explain the types of errors in c#?
What is an enumerator in c#?
What is property c#?
What is difference between method overriding and method overloading?
What are PE(Portable Executable)?
can you allow a class to be inherited, but prevent the method from being over-ridden?
Is equal in c#?