Beispiel #1
0
 public override void Foo(Derived x)
 {
     Console.WriteLine("Derived.Derived");
 }
Beispiel #2
0
 public virtual void Foo(Derived x)
 {
     Console.WriteLine("Base.Derived");
 }