How to write boolean function in a single line in C#?
<pre><code>public bool IsNewUser(int id)
{
  var data= DataContext.Employee.Where(e=&gt;e.id==id).FirstorDefault();
  if(data==null)
     return true;
  return false;
}
</code></pre>

<p>How can I write the above function logic using maybe  <code>??</code> or something else in a single line  in C#? I am sure that must be possible just can't think right now..Thanks</p>
