Null-coalescing and operator precedence
Today I encountered some problem. In one application two values were to be subtracted. In the source code I've found statement:
what is wrong with it? The answer is: opertor precedence! The null-coalescing (??) operator has lower precedence than subtraction operator. The correct code is of course: