Introducing C# 10:Extended property patterns

added by DotNetKicks
7/27/2021 2:09:19 PM

771 Views

C# 8 has introduced a new pattern: Property pattern. This pattern enables you to match on properties of the object examined, if you missed that feature, here is the Microsoft documentation here: Property pattern. C# 10 improves that pattern by simplifying access to nested properties. In the article I'll show what it is.


0 comments