public void PrintAllDetailsToConsole() { string licenseNumber; VehiclesInGarage vehicleToPresent; getLicenseNumber(out licenseNumber); try { vehicleToPresent = m_GarageSystem.GetVehicleByLicenseNumber(licenseNumber); Console.WriteLine(vehicleToPresent.ToString()); Console.WriteLine(vehicleToPresent.VehicleInfo.ToString()); } catch (KeyNotFoundException i_KeyNotFoundException) { Console.WriteLine(i_KeyNotFoundException.Message); } Console.WriteLine("----------------Returning to menu----------------"); }