What is difference between value and reference types ?

Answer Posted / nitin kumar tomar

Value types directly contain their data while reference
types store a references to variable's value memory
and value types uses stack to store data amd reference
types use heap to store data

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need abstract class?

464


What is the system namespace?

467


Is arraylist faster than linkedlist?

485


How to create multi-dimensional array?

593


What is a generic class?

518






What is orm in c#?

464


How long does it take to learn c# programming?

463


How do I create a single-file assembly?

474


without modifying source code if we compile again, will it be generated MSIL again?

479


What is serializable in c#?

483


How does bubble sort work?

500


What is poco c#?

470


So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?

481


What is the difference between finalize() and dispose()?

485


What is double c#?

520