title: How to call generic method with a given Type object?
body: <p>I want to call my generic method with a given type object.</p>
  
  <pre><code>void Foo(Type t)
  {
       MyGenericMethod&lt;t&gt;();
  }
  </code></pre>
  
  <p>obviously doesn't work.</p>
  
  <p>How can I make it work?</p>