Skip to content

Instantly share code, notes, and snippets.


gdyrrahitis/boxing.cs Secret

Created Jun 22, 2019
What would you like to do?
public void CallingMethodWithObjectParam()
int value = 9000;
Console.WriteLine("It's over " + value + "!"); // It boxes the value type!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment