public bool CheckBirth(string year) { if (Birthdate.EndsWith(year)) { return(true); } return(false); }
public bool Check(string part) { return(Birthdate.EndsWith(part)); }