-
-
Save gdyrrahitis/d15f0e286f2d9c2510165396923582a0 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 MethodOverloads() | |
{ | |
int value = 100; | |
// Boxing value type | |
Console.WriteLine("Value is " + value); | |
// Doesn't box the value type | |
Console.WriteLine("Value is " + value.ToString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment