Skip to content

Instantly share code, notes, and snippets.


gdyrrahitis/boxing.cs Secret

Last active Jun 22, 2019
What would you like to do?
public void CallingMethodWithObjectParam()
int value = 9000;
string text = string.Concat("It's over ", value, "!"); // signature is Concat(object arg0, object arg1, object arg2)
Console.WriteLine(text); // Prints: "It's over 9000!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment