Пример #1
0
 public override void Visit(PartTimeEmployee employee)
 {
     Console.WriteLine($"零时工{employee.Name},工资:{employee.Wage*employee.Time}");
 }
Пример #2
0
 public override void Visit(PartTimeEmployee employee)
 {
     Console.WriteLine($"{employee.Name}工作时间为:{employee.Time}");
 }
Пример #3
0
 public abstract void Visit(PartTimeEmployee employee);