你的位置: 码友网首页 / 资讯源列表 / Introducing C# 10: Extended property patterns

关于[Introducing C# 10: Extended property patterns]的摘要:

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.

原文地址: https://anthonygiretti.com/2021/07/27/introducing-c-10extended-property-patterns/

收录时间: 2021-07-28 浏览量: 1685 分类: C#

| 0 收藏 | 0