Skip to content

Instantly share code, notes, and snippets.

@tomwis
Created August 18, 2017 16:49
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 tomwis/e84660133aa3db4042aaeb8beede78c2 to your computer and use it in GitHub Desktop.
Save tomwis/e84660133aa3db4042aaeb8beede78c2 to your computer and use it in GitHub Desktop.
(int sum, int difference) SomeMath(int a, int b)
{
return (a + b, a - b);
}
var (sum, diff) = SomeMath(1, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment