title: vb.net to c# conversion for IsDBNull not working
body: <p>The following conversion doesn't work. </p>
  
  <blockquote>
    <p>Error:"Only assignment, call, increment, decrement &amp; new object can be
    used as a statement"</p>
  </blockquote>
  
  <pre><code>VB.net
  objUser.Email = IIf(IsDBNull(drow("Email")), "", drow("Email"))
  C#
  objUser.Email == (Information.IsDBNull(drow("Email")) ? "" : drow("Email"));
  </code></pre>
  
  <p>I need it in C#. Any ideas??</p>