Beispiel #1
0
 public abstract void Visit(ParttimeEmployee contract);
 public override void Visit(ParttimeEmployee contract)
 {
     Console.WriteLine("The wage of parttime is ...");
 }
Beispiel #3
0
 public override void Visit(ParttimeEmployee contract)
 {
     Console.Write("The worktime of fulltime is ...");
 }