0
Why Bool Type in C# cannot operate Logical Operations?
Because Bool type can only have two conditions either true or false so we cannot write false>true or false==true
1 Odpowiedź
+ 1
operators in c# for comparison:
&& - and
|| - or
== - equals
!= - does not equal
! - not
all of these work with booleans and other logical expressions