+ 1
What is logic not please in C# simple explain
2 Answers
+ 11
!true is false
!false is true
!!true is true
!!false is false
likewise...
+ 2
the ! operator also known as the not operator.
pretty much does what it sounds like. lets say you have x == 5. if you want the opposite of that, just use !(x == 5). or x != 5