title: Lambda expression to retrieve property which can be null
body: <p>Basically I've a list of elements in which I've to retrieve a property that can be either null or a costant string. Of course there is a procedural way to do this but since I'm experimenting with lambdas I want to use them.</p>
  
  <p>I've tried to use this lambda:</p>
  
  <pre><code>td.Where(x =&gt; !String.IsNullOrEmpty(x.BALANCE_MU)).FirstOrDefault().BALANCE_MU
  </code></pre>
  
  <p>The problem here is that sometimes all <code>x.BALANCE_MU</code>s are null, so <code>FirstOrDefault()</code> is null and trying to  access to BALANCE_MU throws an exceptiom. If all the elements are null I should return an empty string.</p>
  
  <p>Is there a better way to do this staying in the lambda domain?</p>