SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to treat a null as false, then I would say that the most succinct way to do that is to use the null coalesce operator (??), as you describe:
null
??
if (nullableBool ?? false) { ... }