static void CreateElementsAndAddToStack(MyCollection <Place> stack)
        {
            Place[] elements = CreateElementsArray();

            stack.Add(elements);
        }
Example #2
0
 public MyEnumerator(MyCollection <T> collection) => Current = Begin = collection.First;
 static void ClearStack(MyCollection <Place> stack) => stack.Clear();