C# Operators 👷🏼♂️👷🏼♀️
Bitwise
The usual operators
| operator | action |
|---|---|
~ |
complement |
& |
and |
| |
or |
^ |
xor |
<< |
shift left |
>> |
shift right |
Conditional Operators
Usual suspects...
! && || (these will shortcut where appropriate)
& | will also work, but DON'T shortcut
Ternary
(a > b) ? a : b;