Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
int i = 123; // "i" is a value type
object o = i; // boxing "i" into "o"
int j = (int)o; // unboxing "o" into "j"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment