parent
b02f764087
commit
a19fac74c0
|
@ -280,7 +280,7 @@ The following table summarizes C#'s operators, listing the operator categories i
|
|||
| Logical OR | <code>x | y</code> | Integer bitwise OR, boolean logical OR |
|
||||
| Conditional AND | `x && y` | Evaluates `y` only if `x` is `true` |
|
||||
| Conditional OR | <code>x || y</code> | Evaluates `y` only if `x` is `false` |
|
||||
| Null coalescing | `X ?? y` | Evaluates to `y` if `x` is `null`, to `x` otherwise |
|
||||
| Null coalescing | `x ?? y` | Evaluates to `y` if `x` is `null`, to `x` otherwise |
|
||||
| Conditional | `x ? y : z` | Evaluates `y` if `x` is `true`, `z` if `x` is `false` |
|
||||
| Assignment or anonymous function | `x = y` | Assignment |
|
||||
| | `x op= y` | Compound assignment; supported operators are `*=` `/=` `%=` `+=` `-=` `<<=` `>>=` `&=` `^=` <code>|=</code> |
|
||||
|
|
Loading…
Reference in a new issue