3 ms·
Possible to use variable placeholders on the left side of a deconstructor assignment?
by ryenus 10y ago
Possible to use variable placeholders on the left side of a deconstructor assignment?
- mathw 10y agoThere's a plan to allow wildcards in deconstruction patterns, but it doesn't look like it's ready in time for C# 7. So hopefully that will appear in C# 8. It would look something like: var (first, second, *) = ReturnsFourThings(foo);