C# 7 introduced pattern matching with the extension of the switch statement and the is operator offering the const pattern, the type pattern, and the var pattern. With C# 8 an extension of pattern matching is planned, including the property pattern, the recursive pattern, and a new switch – the switch expression.
مطالب مشابه
- اشتراکها
بررسی ویژگیهای جدید C# 8اشتراکها
بررسی C# 7اشتراکها
نگاهی به آیندهی #C از زبان اعضای تیم آناشتراکها
روش های مقایسه اشیاء با nullاشتراکها
خلاصهی C# 8.0 در دو صفحهپیشنهادها
C# 7 - Pattern matching and switch expressionsمطالب
C# 7 - Pattern matching and switch expressionsمطالب
واژههای کلیدی جدید and، or و not در C# 9.0نظرات مطالب
C# 7 - Pattern matching and switch expressionsنظرات مطالب
C# 6 - String Interpolation