よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public bool Validate(string postalCode, string countryCode) { if (Codes.Count(x => x.Country == countryCode && x.Code == postalCode) == 0) { return(false); } return(true); }