Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            var o = obj as Lunchtable;

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