Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
2 posts found
#pattern-matching
Backend
PART 04
Pattern Matching in C# in Depth: Property, Positional and Tuple Patterns
Property patterns and the C# 10 extended syntax, a match that quietly fails at a null intermediate step, positional patterns with Deconstruct, a decision table with tuple patterns, not/and/or precedence and the is not A or B trap, the var pattern and when, missing and unreachable arms with CS8509, CS8524 and CS8510, and choosing between pattern matching and polymorphism.
7 Nov 2026
11 min
7
Backend
PART 08
Conditions in C#: if/else, switch and Switch Expressions
The ways to make decisions in C#: why order matters in an if/else chain, braces and scope, a switch statement that forbids fall-through, the value-returning switch expression, and the relational and logical patterns of C# 9.
7 Nov 2026
10 min
5