private static void AtWorkStation(IWork w) { Console.WriteLine("AtWorkStation"); Console.WriteLine(); w.StartWork(); w.StopWork(); }
private static void AtTheWorkPlace(IWork w) { Console.WriteLine("At the Workplace"); w.StartWork(); w.StopWork(); Console.WriteLine(); }
static void AtWorkStation(IWork worker) { Console.WriteLine("At Workstation!"); try { worker.StartWork(); worker.StopWork(); } catch (Exception e) { Console.WriteLine("Message:" + e.Message); } }
static void AtTheWorkstation(IWork worker) { Console.WriteLine("at the work station"); worker.StartWork(); worker.StopWork(); }
public static void PrintEatData(IWork instance) { instance.StartWork(); instance.StopWork(); }
private static void AtTheWorkStation(IWork work) { Console.WriteLine("Inside the WorkStation"); work.StartWork(); work.StopWork(); }