3 ms·
C# (as of 7.0) has pretty nice tuple syntax that supports all things you expect (deconstruction, etc): https://docs.microsoft.com/en-us/dotnet/csharp/language-
by wvenable 6y ago
C# (as of 7.0) has pretty nice tuple syntax that supports all things you expect (deconstruction, etc):
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/value-tuples https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
But the situation here is that the type KeyValuePair is older than that and isn't a tuple.