what is boxing and unboxing

ANS:-  Boxing is assigning a value type to reference type variable.

Unboxing is reverse of boxing ie. Assigning reference type variable to value type variable.

No comments:

Post a Comment