Dot Net Framework – Value Type Vs Reference Type

What is difference between Value Type and Reference Type ?  or Value Type Vs Reference Type ? Value Type A data type is a value type if it holds the data within its own memory allocation. All value based types are allocated on the stack. When a value type is assigned to another value type, it is copied. Reference Type A reference type contains a pointer to another memory location that holds the data or we can say reference type

» Read more