title: cannot convert from 'object' to 'decimal'
body: <p>Basically I have a list:</p>
  
  <pre><code> List&lt;Decimal&gt; SortOrders = new List&lt;Decimal&gt;();
  </code></pre>
  
  <p>And a DataRow.
  I wan to compare whether the list contains an item from a control.
  But I got an exception,</p>
  
  <blockquote>
    <p>cannot convert from "Object " to "decimal</p>
  </blockquote>
  
  <pre><code>DataRow dr = dataSetSomething.Tables[0].NewRow();
  ...
  dr["SortOrder"] = Convert.ToDecimal(numericOrder.Value);// works fine here
  if (SortOrders.Contains(dr["SortOrder"]))// exception here, Why?
  {
  }
  </code></pre>
  
  <p>Thanks for help.</p>