Skip to content

Switch expressions (legacy variants page)

This legacy page has been consolidated into the main single-feature guide:

Switch expressions were introduced in C# 8.0 (2019).