Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created June 22, 2019 19:56
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/d15f0e286f2d9c2510165396923582a0 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/d15f0e286f2d9c2510165396923582a0 to your computer and use it in GitHub Desktop.
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