예제 #1
0
 public void DisplayVehicleInformation(string i_LicenseNumber)
 {
     {
         if (!m_Garage.ContainsKey(i_LicenseNumber))
         {
             throw new VehicleNotFoundException(i_LicenseNumber);
         }
         else
         {
             Vehicle VehicleToDisplay = m_Garage[i_LicenseNumber];
             VehicleToDisplay.DisplayInformation();
         }
     }
 }