1

This question already has an answer here:

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.

marked as duplicate by Shadow The Princess Wizard support Oct 15 '15 at 13:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged .