/// <summary> /// Follow input instructions and output result. /// </summary> /// <param name="input">The instructions.</param> private static void TravelOnJourney(string input) { var journey = new Journey(input); journey.Travel(); Console.WriteLine( $"Your taxi has arrived at {journey.Coordinates()}, and is {journey.BlocksFromStart()} blocks away from your departure point."); File.WriteAllText("taxilog.csv", journey.Log); Console.WriteLine( $"First revisited point: {journey.Coordinates(journey.FirstRevisitedPoint)} ({journey.BlocksFromStart(journey.FirstRevisitedPoint)} blocks away)"); }