Example #1
0
        private string ChangeSignal(TrafficLight trafficLight)
        {
            trafficLight.ChangeSignal();
            string result = trafficLight.Signal.ToString();

            return(result);
        }