Question: what is the difference between value type and reference type?
Answer: While value types are stored generally in the stack, reference types are stored in the managed heap. ... In other words, variables or objects or value types have their own copy of the data. A reference type, meanwhile, extends System. Object and points to a location in the memory that contains the actual data.