title: Why do i need to put the null-coalescing operator in brackets?
body: <p>I have recently noticed a curiosity (at least for me). I thought that the <a href="http://msdn.microsoft.com/en-us/library/ms173224.aspx"><code>null-coalescing operator</code></a> would take the precedence over any mathematical operation but obviously i was wrong. I thought following two variables would have the same value at the end:</p>
  
  <pre><code>double? previousValue = null;
  double? v1 = 1 + previousValue ?? 0;
  double? v2 = 1 + (previousValue ?? 0);
  </code></pre>
  
  <p>But <code>v2.Value</code> is (the desired) 1 whereas <code>v1.Value</code> is still 0. Why?</p>
  
  <p><a href="http://ideone.com/gRZoe9">Demo</a></p>