adspace
What is the difference between the value-type variables and reference-type variables
Answer Posted / Nishant Trivedi
Value-type variables store their data directly in the variable itself, whereas reference-type variables store a memory address that points to the actual data location.nnFor example, in C#, int (integer) is a value-type variable, while an object is a reference-type variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers