C# Dynamic Method Call on Generic Functions
<p>I have the following two functions:</p>

<pre><code>public class MyClass
{
    public void Save&lt;TObject&gt;(TObject object) where TObject : class
    {   
    }

    public void Save&lt;TObject&gt;(TObject object, String strValue) where TObject : class
    {
    }
}
</code></pre>

<p>I want to be able to dynamically call the first save function similar to the following:</p>

<pre><code>public void DoSomething&lt;T&gt;(String strMethod) where T : class
{
    T myObject = Activator.CreateInstance&lt;T&gt;();
    MyClass.GetType().GetMethod(strMethod, new Type[] { typeof(T) }).MakeGenericMethod(typeof(T)).Invoke(null, new[] { myObject });
 }   
</code></pre>

<p>Unfortunately, when I do this, it is unable to match the first save function.  If I remove the <code>new Type[] { typeof(T) }</code> I am stuck with an ambiguity issue.  What am I missing?</p>
