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