static void GetHolidaysAvailableForUS() { var client = new HolidayService.HolidayService2SoapClient("HolidayService2Soap"); HolidayService.HolidayCode[] holidays = client.GetHolidaysAvailable(HolidayService.Country.UnitedStates); foreach (var holiday in holidays) { Console.WriteLine(holiday.Code); } }