In this lecture, you'll get to know modern
switch-expressions in C#: you'll find out how they're different from the classic
switch statement, how to use patterns (by type, range, properties), combine conditions with
and,
or,
not, and how to return values from functions in a super concise way. All with examples, tips, and a breakdown of common mistakes!