Explain the differences between value type and reference type
Following are the main differences between value type and reference type: Value type contain variable while reference type doesn’t contain value directly in its memory In reference type, memory is allocated in managed heap and in value type memory allocated in stack. Reference type ex-class value type-struct, enumeration In .NET interviews, explaining the differences between … Read more