What is the Difference between value and reference type?
Answer Posted / purish dwivedi
A variable that is a value type, stores the data, while a
variable of a reference type stores a reference to the data.
Value types are stored directly on the stack while Reference
types are stored on the run-time heap.
Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What does addressof operator do in background ?
How string definitions will prevent escaping on backslashes in C#?
Ho we can see assembly information?
What is part of a method signature in c#?
What is difference between private and protected?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
How does dependency injection work c#?
List out two different types of errors in c#?
What is inumerable?
write a c# program add two matrix with input number ?
What are the characteristics of c#?
What is constructors, explain with syntax
Can we inherit static class in c#?
Can we override interface methods in c#?
What does int32 mean in c#?