常用方法
常用方法
常用方法
常用方法
public bool Validate(string postalCode, string countryCode) { if (Codes.Count(x => x.Country == countryCode && x.Code == postalCode) == 0) { return(false); } return(true); }
public bool Validate(string postalCode, string countryCode) { if (Codes.Count(x => x.Country == countryCode && x.Code == postalCode) == 0) { return(false); } return(true); }