- Mastering Visual Studio 2017
- Kunal Chowdhury
- 70字
- 2021-07-15 17:26:38
Getting to know about pattern matching
Pattern matching is a new notion introduced in C# 7.0, which adds some power to the existing operators and statements. You can perform pattern matching on any data type and from that statement you can extract the value of that data type. There are two different types of pattern matching in C# 7.0:
- The Is expression with pattern matching
- Switch statements with pattern matching
推薦閱讀
- .NET之美:.NET關鍵技術深入解析
- 程序員面試白皮書
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- ASP.NET Core Essentials
- Visual Basic學習手冊
- Python機器學習:手把手教你掌握150個精彩案例(微課視頻版)
- Extreme C
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- Django Design Patterns and Best Practices
- Oracle 12c從入門到精通(視頻教學超值版)
- 嵌入式Linux C語言程序設計基礎教程
- Python 快速入門(第3版)
- INSTANT LESS CSS Preprocessor How-to
- Game Development Patterns and Best Practices
- GO語言編程從入門到實踐