I am sure there are a few questions on SO about usage of the negation operator (!) in C#, but I haven't been able to find them.

How would one go about finding questions that discuss the proper usage of this operator on SO? I'm interested in suggestions regarding whether one should typically follow one or the other of these conventions:

if (!isValid) { ... }


if (isValid == false) { ... }

I realize this might be something on Programmers.SE instead, also, but the challenge in finding it still exists.



Browse other questions tagged .