what is boxing and unboxing, explain it with examples?
Manoj Kumar
Boxing = Convert from value type variable to reference type variable , ex : Int a=10 (Value Type), object o=a; (object is reference type). UnBoxing = Conver a variable from reference to value type, ex : int c= (int)o;
To convert datatype in to object called boxing &visa
Boxing = Value Type To Object Type ; Ubboxing = Object Type to Value Type;