Choose Effective Differences Between Boxing And Unboxing #60
Choose effective differences between 'Boxing' and 'Unboxing'.
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Data Types, Variables and Operators - Scope and Lifetime of Variables - Quiz No.1.
Choose effective differences between 'Boxing' and 'Unboxing'.
'Boxing' is the process of converting a value type to the reference type and 'Unboxing' is the process of converting reference to value type
'Boxing' is the process of converting a reference type to value type and 'Unboxing' is the process of converting value type to reference type
In 'Boxing' we need explicit conversion and in 'Unboxing' we need implicit conversion
Both 'Boxing' and 'Unboxing' we need implicit conversion