Exemple #1
0
        public override bool Equals(object obj)
        {
            var o = obj as Lunchtable;

            if (o != null)
            {
                return(LunchDays.ContentsAreIdentical(o.LunchDays));
            }
            return(false);
        }
Exemple #2
0
 public override int GetHashCode()
 {
     return((LunchDays.Aggregate("", (current, l) => current + l.ToString())).GetHashCode());
 }