4 ms·
If you have the time, there's this great talk by Bill Wagner that goes over some of these newer features. You can also skip right to the pattern-matching sectio
by ducharmdev 5y ago
If you have the time, there's this great talk by Bill Wagner that goes over some of these newer features. You can also skip right to the pattern-matching section; he shows a good example of how powerful switch expressions can be.
https://m.youtube.com/watch?v=aUbXGs7YTGo https://m.youtube.com/watch?v=aUbXGs7YTGo
Alternatively, this page on the C# 8 release has good examples too. They show how you can leverage tuples to make them even more powerful.
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#more-patterns-in-more-places https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csh...