public int Visit(MyAnotherClass c) { return c.InvokeMethod(); }
public int Visit(MyAnotherClass c) { return(c.InvokeMethod()); }
public void Benchmark() { _instanceOne.InvokeMethod(); _instanceTwo.InvokeMethod(); }
public static int InvokeMethodEx(this MyAnotherClass c) { return(c.InvokeMethod()); }