-
-
Save gdyrrahitis/b66736a2f03249d7bc00f0fd92cca31c 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 = 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