Exemple #1
0
 public void Visit(StudentEmployee employee)
 {
     _expenses += employee.HourRate*employee.HoursWorkedThisMonth;
 }
Exemple #2
0
 public void Visit(StudentEmployee employee)
 {
     Console.WriteLine("Student: " + employee.HiredDate);
 }
Exemple #3
0
 public void Visit(StudentEmployee employee)
 {
     Console.WriteLine("Student: " + employee.HiredDate);
 }
Exemple #4
0
 public void Visit(StudentEmployee employee)
 {
     _expenses += employee.HourRate * employee.HoursWorkedThisMonth;
 }