private void UserAutoHopOff(EzySystem ezySystem) { List<string> temp = ezySystem.GetWhoHasAutoHopOff(); if (temp.Count == 0) return; Console.Write("The following passengers have been hopped off because they reach the last bus stop \n"); for (int i = 0; i < temp.Count; i++) { Console.WriteLine(temp.ElementAt(i)); } ezySystem.ClearAutoHopOffList(); }