Пример #1
0
 public void MyMethod(IMyInterface obj)
 {
     obj.MethodX();
 }