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