What is difference between value and reference types?
Answer Posted / payal
value
this stored actual value
reference
stored the address of the value
value store in stack
reference is stored in heap
the variable which are value type they each time create
their own copy
the variable which are reference type they refer the same
object every time
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Can a dictionary have duplicate keys c#?
How do you inherit a class into other class in c#?
What is difference between dictionary and hashtable in c#?
Why are local variables stored in stack?
Can You Prevent Your Class From Being Inherited By Another Class?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Explain dataadapter.update method in .net?
What is difference between string and stringbuffer in c#?
Which framework is best for desktop application?
Is dictionary reference type c#?
What is singleordefault c#?
Explain about Serialize and MarshalByRef?
Value Type and Reference Type Data type in C#?
What is sqlconnection in c#?
What is a class c#?