Пример #1
0
 public BetterObjectB(ObjectC c, ObjectD d) : base(c, d)
 {
 }
 public virtual void MethodC(ObjectD arg1, ObjectE arg2)
 {
 }
Пример #3
0
 public ObjectB(ObjectC c, ObjectD d)
 {
     _c = c;
     _d = d;
 }
Пример #4
0
 public void MethodC(ObjectD arg1, ObjectE arg2)
 {
     Console.WriteLine("Bye {0} and {1}", arg1, arg2);
 }