Pattern matching in C# 9.0
An overview about the different patterns available in C# up to version 9.0 of the compiler, improvements to the to the switch statement and the new switch expression introduced in C# 8.0.
Explore the blog
2 published installments. All series →
Part 1 of 2
An overview about the different patterns available in C# up to version 9.0 of the compiler, improvements to the to the switch statement and the new switch expression introduced in C# 8.0.
Part 2 of 2
A quick overview on the new patterns added in C# 10 and C# 11: extended property patterns, list patterns and expanded targets for the constant string pattern.