Created
May 5, 2018 21:52
-
-
Save christiannagel/7f67e48d44766ad672387027c274d06c to your computer and use it in GitHub Desktop.
deconstruction of a tuple and a Person class
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
(int n, string s) = (42, "magic"); | |
var p1 = new Person("Tom", "Turbo"); | |
(string firstName, string lastName) = p1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment