2

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) { ... }

or

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

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

5

0

Browse other questions tagged .