예제 #1
0
파일: Program.cs 프로젝트: hihilla/csharp3
        private static void displayVehicleDetails(GarageLogic.Garage i_Garage)
        {
            Console.WriteLine("Please enter the vehicle licence number");
            string licenceNumber = Console.ReadLine();

            try
            {
                Console.WriteLine(i_Garage.DisplayVehicleDetails(licenceNumber));
            }
            catch (Exception ex)
            {
                catchExceptionAndContinue(i_Garage, ex);
            }
        }