Pattern Matching in C# 7.0 Case Blocks

added by DotNetKicks
2/2/2017 6:59:23 PM

2 Kicks, 330 Views

Code Focused Welcome to the 21st century, C#, now that case blocks support a variety of pattern-matching formats. Switch statements and the case blocks they contain have been a mainstay of C-language flow-control syntax since the initial incarnation of the language back in the 1970s.