int i = 123; object o = (object)i; // boxing o = 123; i = (int)o; // unboxing
int i = 123; int y; MyObject obj = new MyObject():
MyObject
object
i
y
o = (object)i;
o = i;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)