I keep seeing code that does checks like this
if (IsGood == false) { DoSomething(); }
or this
if (IsGood == true) { D
I prefer !IsGood because to me, it is more clear and consise. Checking if a boolean == true is redundant though, so I would avoid that. Syntactically though, I don't think there is a difference checking if IsGood == false.
!IsGood
boolean == true
IsGood == false