-
-
Save gdyrrahitis/765d1e9c1553f3ca3c20c5f09243aad4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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