public static class MyClassStatic
public static void Method2(this MyClass obj)
Console.WriteLine("You have called ex Method 2");
public class MyClass : IClass
Console.WriteLine("You have called Method 1");
public static void Main()
var myClass = new MyClass();
var whereMethods = typeof (MyClassStatic).GetMethods(BindingFlags.Static | BindingFlags.Public).FirstOrDefault(mi => mi.Name == "Method2");
whereMethods.Invoke(null, new object[]{myClass});