title: selecting a property from FirstOrDefault in case FirstOrDefault returns null
body: <p>I want to make following statement:</p>
  
  <pre><code>var block = blocksById.FirstOrDefault(X =&gt; X.Value == tracResult.ID).Key
  </code></pre>
  
  <p>My question is how to deal with it more correctly in case I have FirstOrDefault null value.
  I just not feel that <code>if</code> statments the only solution that can be here...</p>