title: How can DBNull not equal DBNull
body: <p>I have the following line of code</p>
  
  <pre><code>if (DBNull.Value.Equals(o) || o != null)
  </code></pre>
  
  <p>where <code>o</code> is <code>object o in row.ItemArray</code>  I keep getting an error of --> </p>
  
  <p><code>Xml type "List of xdt:untypedAtomic" does not support a conversion from Clr type "DBNull" to Clr type "String".</code></p>
  
  <p>What I don't understand is that when I step through my code this <code>if</code> should be catching this and performing my alternate action but it does not?  </p>
  
  <p>Can someone please shed some light for me.</p>
  
  <p>Thank you!</p>