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
Why do we need serialization?
Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.
Is overriding of a function possible in the same class?
List down the access modifiers available in c#?
What the different phase/steps of acquiring a proxy object in webservice?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
What is indexer c#?
What is CLR and its application.?
What is the difference between finalize() and dispose() methods?
What are desktop applications examples?
In dynamic link library, which api is used for load library?
Where do we use static class in c#?
Why is it called c sharp?
What are delegates?
What are strongly typed objects?