title: Why can't I set a nullable int to null in a ternary if statement?
body: <p>The C# code below:</p>
  
  <pre><code>int? i;
  i = (true ? null : 0);
  </code></pre>
  
  <p>gives me the error:</p>
  
  <blockquote>
    <p>Type of conditional expression cannot
    be determined because there is no
    implicit conversion between '&lt;null&gt;'
    and 'int'</p>
  </blockquote>
  
  <p>Shouldn't this be valid?  What am i missing here?</p>