I know null-coalescing operator returns the left hand operand if it is not null, but I hadn't seen anyone using it in an if-statement like:
if (car.IsSold ?? false)
...
I'm guessing it means if car.IsSold is not null then proceed with the if statement, otherwise jump out of the statement. Is that right? if yes, why shouldn't the programmer use
if (car.IsSold)
...
which does the exact same thing? I'd appreciate if someone clears this up for me.