Dotnet Null Pattern Matching

Use when testing a value for null: prefer the pattern form (is null / is not null) over the equality operator — and never == inside an equality operator's own body, that's infinite recursion, not a style choice.

techmefr Updated

File contents

techmefr/mentis commit 37e6b821c8

Frequently asked questions

npx get-skill add techmefr/dotnet-null-pattern-matching