// override object.Equals public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } Weekday w = (Weekday)obj; return(Id == w.Id && English.EqualsExT(w.English) && Chinese.EqualsExT(w.Chinese) && Japanese.EqualsExT(w.Japanese)); }