title: C# check if object is of a type known only at runtime
body: <p>Why won't the following work?</p>
  
  <pre><code>if(!(obj is (DataGridView1.SortedColumn.ValueType)))
  </code></pre>
  
  <p>I get an error that a type is expected. Doesn't ValueType return a type?</p>