1 nota · última: 25 Sep 2026
The post reduces a lock gate example to a C# switch expression with pattern matching. It shows how underscores replace repeated cases and how invalid states still throw exceptions.