Practical C# Videos – Tuples and Is Expression

This is the beginning of a series of quick videos to explore C# in a simple and practical way.

C# 7 – Refactor out parameters into tuple

Learn how to refactor a method that return multiple values using out parameters to use C# 7 Tuples instead.

C# 7 – Tuple Deconstruction

How to deconstruct a tuple into its individual components in C# 7.

C# 7 – Tuple Semantic Names

Understand how tuples works under the cover and why returning tuples in public APIs is probably not a good idea.

C# 7 – Is expression with pattern matching

See how to make your code more compact using C# 7 IS expressions with pattern matching instead of the AS keyword.

Watch all Practical C# videos

Permanent link to this article: https://www.productivecsharp.com/2017/05/csharp-videos-tuples-is-expression/


Warning: in_array() expects parameter 2 to be array, null given in /home/andreaa9/public_html/wp-content/themes/graphene/inc/plugins.php on line 92
>