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 method and function in c#?
Why do we need indexer in c#?
What is an assembly in dotnet?
What is asp net c# corner?
How do I convert a string to an int in c#?
What is constructor overloading in c#?
Can a class have static constructor?
What is meant by generics in c#?
What is use of console?
Does a loop recorder have to be removed?
What is delegate in c# interview questions?
What does string format do?
Can constructor be protected?
What is the relationship between a process, application domain, and application?
Explain the Abstract class in c#.net