Patterns test a value's shape and pull out parts in one step. if (shape is Circle c) tests the type and gives you a typed variable. A property pattern looks inside: order is { Status: "paid", Total: > 100 }. A positional pattern deconstructs records and tuples: point is (0, 0). Relational (> 100) and logical (and, or, not) patterns combine with all of these, and not null is the idiomatic null check.
In a switch expression, each arm is a pattern, optionally with a when guard: Card { Expired: true } => "declined". Order arms from most to least specific; the compiler reports an arm that can never match.
List patterns (C# 11) match arrays and lists by position: [] is empty, [var only] has one item, [var first, .., var last] has at least two, and .. matches any run in between.
Type, guard, property and list patterns in one switch expression.