public void MergeNewGeneration() { SortedMeals.UnionWith(Children); if (SortedMeals.Count != Count) { throw new Exception(); } Children = new OrderedBag <IMeal>(); }