Glossary: C# Beyond the Basics
pattern
Also written: patterns, pattern matching
A shape you test a value against: its type, a constant, a range, its properties or its items. Patterns are used with `is` and in switch expressions.
Glossary: C# Beyond the Basics
Also written: patterns, pattern matching
A shape you test a value against: its type, a constant, a range, its properties or its items. Patterns are used with `is` and in switch expressions.