title: Find Type of Type parameter
body: <p>Consider the following:</p>
  
  <pre><code>private T getValue&lt;T&gt;(String attr)
  { ... }
  </code></pre>
  
  <p>How do I check to see what Type  is?</p>
  
  <p>I was thinking of:</p>
  
  <pre><code>if("" is T) // String
  if(1 is T) // Int32
  </code></pre>
  
  <p>Is there a better way?</p>