コード例 #1
0
 public bool Validate(string postalCode, string countryCode)
 {
     if (Codes.Count(x => x.Country == countryCode && x.Code == postalCode) == 0)
     {
         return(false);
     }
     return(true);
 }