33 ms·
That's not a deconstructor though, which is what the GP was asking about. EDIT: Looks like there's confusion... Yes, you can deconstruct a Tuple like this, but
by taco_emoji 10y ago
That's not a deconstructor though, which is what the GP was asking about.
EDIT: Looks like there's confusion... Yes, you can deconstruct a Tuple like this, but C# 7 also introduces a specific Deconstructor pattern in which ANY class can be deconstructed as though it were a Tuple.