title: C# get generic parameter name using reflection
body: <p>say that I have a C# class like this:</p>
  
  <pre><code>class MyClass&lt;Tkey,Tvalue&gt;{}
  </code></pre>
  
  <p>How do I get <code>"Tkey"</code> and <code>"Tvalue"</code> from given Type instance?
  I need the parameter name, not Type.</p>
  
  <p><strong>EDIT</strong>
  My class is of unknown type, so it can be something like</p>
  
  <pre><code>class MyClass2&lt;Ttype&gt;{}
  </code></pre>
  
  <p>as well</p>