title: c# generic function - an extension of another generic
body: <p>Here's a typical example of a generic method in c#:</p>
  
  <pre><code>ParseObject po;
  
  int i = po.Get&lt;int&gt;("someField");
  string s = po.Get&lt;string&gt;("anotherField");
  </code></pre>
  
  <p>I want to write an <strong>extension</strong> that will work like this ...</p>
  
  <pre><code> int i = po.ExampleGet&lt;int&gt;("someField");
   string i = po.ExampleGet&lt;string&gt;("anotherField");
  </code></pre>
  
  <p>So,</p>
  
  <p>(a) the extension ExampleGet would have to be able to accept a &lt; class > in the same way that ParseObject.Get does, and</p>
  
  <p>(b) the extension ExampleGet would have to be able to call ParseObject.Get (as well as doing other work).</p>
  
  <p>What's the syntax for such n extension, which uses a generic in that way ?</p>