Home > Software > .NET > C-Sharp
Interview Questions   Tutorials   Discussions   

C-Sharp - What is the Difference between value and reference type?




272
views
asked mar October 4, 2014 03:14 AM  

What is the Difference between value and reference type?


           

1 Answers



 
answered By siddhant   0  

Value type

A data type is a value type if it holds the data within its own memory allocation.

Reference Type

A reference type contains a pointer to another memory location that holds the data

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert