How to invoke Foo(this object o) instead of Foo(this T t) if they both exist?
<p>How to invoke Display method extending object class?</p>

<pre><code>static class Tools
{
    public static void Display&lt;T&gt;(this T t)
    {
        Console.WriteLine("generic: " + t.GetType());

    }

    public static void Display(this object o)
    {
        Console.WriteLine("object: " + o.GetType());
    }
}

class Program
{
    static void Main(string[] args)
    {
        int i = 100;


        // all  will invoke the generic version.
        Tools.Display&lt;int&gt;(i);
        i.Display();
        Tools.Display(i);

    }
}
</code></pre>
