Can't use | operator in case?
This does nothing for some reason, and yes the id is 1
6 Replies
I think it's doing a bitwise operation
Bitwise and shift operators - perform boolean (AND, NOT, OR, XOR) a...
Learn about C# operators that perform bitwise logical (AND -
&
, NOT - ~
, OR - |
, XOR - ^
) or shift operations( <<
, and >>
) with operands of integral types.You can change it to
or
ah thanks!
(Not C# Relevant)
using '|' instead of "||" is valid syntax for bash script, so you weren't far off from something real
interesting