SyntaxFix
Write A Post
Hire A Developer
Questions
Just because my favorite odd ball way to toggle a bool is not listed...
bool x = true; x = x == false;
works too. :)
(yes the x = !x; is clearer and easier to read)
x = !x;