Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created June 22, 2019 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/765d1e9c1553f3ca3c20c5f09243aad4 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/765d1e9c1553f3ca3c20c5f09243aad4 to your computer and use it in GitHub Desktop.
public void CallingMethodWithObjectParam()
{
int value = 100;
SignatureWithObjectParam(value); // Implicit boxing
}
public void SignatureWithObjectParam(object o)
{
Console.WriteLine(o);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment