From a816ca4cac9f276df201e9dc9d3d289d7f255880 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Sun, 23 May 2021 21:40:55 +0100 Subject: [PATCH] feat(*): Add a final readkey so users can see their results --- CityFinder/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CityFinder/Program.cs b/CityFinder/Program.cs index 329ff17..4e1c737 100644 --- a/CityFinder/Program.cs +++ b/CityFinder/Program.cs @@ -49,6 +49,12 @@ namespace CityFinder // Get the city using an API call await GetCity(countryInput, postalCodeInput); + + // Let the user read the results + Console.WriteLine("Press any key to finish... "); + Console.ReadKey(); + } + /// /// This method sets up the json config file and sets the user-agent header on the HttpClient. ///