var switchValue = 3; var resultText = switchValue switch { 1 or 2 or 3 => "one, two, or three", 4 => "four", 5 => "five", _ => "unknown", };