flask
✅ **Hello, could you help me understand `&`, `&&`, `|`, `||` in C# with this code example:**
Why does the
if
condition execute when a/b>1
is false
?
The ampersand &
upon encountering the first false
, immediately triggers else
, and evaluates the rest of the expression in the background (right??). Its further calculation of other expressions after the &
should not change the outcome (?), as it is not the OR operator |
. Why do we then end up with 'everything's cool'?"24 replies