Choose effective differences between ‘Boxing’ and ‘Unboxing’.
(a) ‘Boxing’ is the process of converting a value type to the reference type and ‘Unboxing’ is the process of converting reference to value type
(b) ‘Boxing’ is the process of converting a reference type to value type and ‘Unboxing’ is the process of converting value type to reference type
(c) In ‘Boxing’ we need explicit conversion and in ‘Unboxing’ we need implicit conversion
(d) Both ‘Boxing’ and ‘Unboxing’ we need implicit conversion
The question was posed to me by my college director while I was bunking the class.
The doubt is from Scope and Lifetime of Variables topic in chapter Data Types, Variables and Operators of C#