public override bool Equals(object obj) { var o = obj as LunchDay; if (o != null) { return(DateString.Equals(o.DateString) && Dishes.ContentsAreIdentical(o.Dishes)); } return(false); }