title: how can I use FirstOrDefault()?
body: <p>I have this code and I want to set a value to Viewdate when the expression returns no data:</p>
  
  <pre><code>ViewData["Fix"] = db.PreStatusViws.Where(c =&gt; c.LkpNameFix == "1").FirstOrDefault().NumCoefficientFix;
  </code></pre>
  
  <p>can I set zero or a "Text" for that? I no, what can I do?!
  note: FirstOrDefault(null) cause an error.</p>