Oleg Kyrylchuk ✙ 🇺🇦
2 years
C# 11 preview introduces list patterns.
It extends pattern matching to match sequences of elements in an array or a list.
You can use list patterns with any pattern, including constant, type, property, and relational patterns.
Bonus example in the reply 👇