May 7

Practical C# Videos – Tuples and Is Expression

0  comments

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


Tags


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Subscribe to our newsletter now!

Get instant access to the Master C# 9 webinar to learn all the new exciting C# 9 features quickly.
Get regular videos and news on C# and .NET and offers on products and services to master C#.

We will collect, use and protect your data in accordance with our Privacy Policy.

>