There are three operators that are complicated enough to get their own section, of which the first is the ternary operator. :), and the null coalescing operator (??? It will not be readable in your code, and there are much better solutions available. Elvis operator : ternary operator shorthand The ternary operator lets your code use the value of one expression or another, based on whether the condition is true or false: