title: Check if the typeof(object) in a List is a reference type
body: <p>this seems odd to me:</p>
  
  <pre><code>if(customerList.Count &gt; 0)
  {
     if(typeof(customerList[0]).IsReferenceType)
     {
        // do what I want
     }
  }
  </code></pre>
  
  <p>How would you do it?</p>