If this is a problem, you could always use the not
keyword instead of !
C++ supports the following less well known keyword eqivalents:
and &&
and_eq &=
bitand &
bitor |
compl ~
not !
or ||
or_eq |=
xor ^
xor_eq ^=
not_eq !=
C# doesn't seem to support these alternatives, which were originally included in C++ to support development when the characters needed for the more usual variants weren't available on the keyboard. Gavin Greig "Haw, you're no deid," girned Charon. "Get aff ma boat or ah'll report ye." Matthew Fitt - The Hoose O Haivers: The Twelve Trauchles O Heracles. -- modified at 5:50 Tuesday 7th February, 2006