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
What is this keyword in C#?
Is null in c#?
Can you specify nested classes as partial classes?
What is difference between array and list in c#?
What is a string in c#?
Perfect Example Of While And Do-While Loop In C#.Net ?
Explain get and set accessor properties?
What is the output of TextWriterTraceListener redirected?
What is difference between write and writeline?
Give an example of removing an element from the queue?
What is clr in c#?
How can we set the class to be inherited, but prevent the method from being over-ridden?
Can an array be null c#?
When a Static Constructor is called in a Class?
What is console read in c#?