Tuples


Sometimes there is a need to ignore a result of a method. It’s straightforward if that’s a return value – just don’t assign it. But what should be done in other cases?

C# 7.0 – Discards



Deconstruction is a nice way to consume tuples. It’s a syntax that allows splitting a tuple into variables.

C# 7.0 – Deconstruction