class BoxingUnboxing { static void Main() { int myVal = 1; object obj = myVal; // Boxing int newVal = (int)obj; // Unboxing } }