private static void rechargeAVehicle(Garage i_Garage) { Console.WriteLine(" ===== Recharge A Electric Vehicle ==== "); string vehicleLicenseNumber = getAVehicleLicenseNumber(i_Garage); Console.WriteLine("-Please Enter requested minutes to recharge the vehicle-"); string minutesToCharge = getANumericString(); try { i_Garage.ChargeElectricVehicle(vehicleLicenseNumber, minutesToCharge); Console.WriteLine("Recharge Vehicle {0} in {1} minutes Succeeded!", vehicleLicenseNumber, minutesToCharge); } catch (Exception e) { Console.WriteLine("{0}{1}Cannot Recharge Vehicle {3}{1}{2}{1}{0}", k_BreakLine, System.Environment.NewLine, e.Message, vehicleLicenseNumber); } }