+ 1

What is logic not please in C# simple explain

4th Apr 2017, 7:48 PM
ALAMOUDI, WAEL MAKKI S
ALAMOUDI, WAEL MAKKI S - avatar
2 Answers
+ 11
!true is false !false is true !!true is true !!false is false likewise...
4th Apr 2017, 10:56 PM
Hatsy Rei
Hatsy Rei - avatar
+ 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
4th Apr 2017, 8:09 PM
Edward