title: Does C# support type inference of the return type?
body: <p>This is just a curiousity about if there is a fundamental thing stopping something like this  (or correct me if there's already some way):</p>
  
  <pre><code>public TTo Convert&lt;TTo, TFrom&gt;(TFrom from)
  {
      ...
  }
  </code></pre>
  
  <p>Called like this:</p>
  
  <pre><code>SomeType someType = converter.Convert(someOtherType);
  </code></pre>