Пример #1
0
 private static void WaitForLight()
 {
     Console.WriteLine("Press any key to wait for light.");
     ReadKey();
     signal.UpdateTrafficLight();
     PrintCurrentTrafficSignal();
 }