Skip to content

Pattern matching basics (legacy page)

This older overview page has been replaced by canonical single-feature guides:

Pattern matching was introduced in C# 7.0 (2017).