What is the difference between value and reference types?
What is the difference between value and reference types?
Answer
Value types directly store the data and it is allocated to stack. Reference type store a reference to the value’s memory address and are allocated to heap.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website