public static void ExitOutput(CircleOfChildren circleOfChildren, int syllables, int countOfChildren = 0) { foreach (var kid in circleOfChildren.GetChildrenInOrder(syllables, countOfChildren)) { Console.Write(kid + " "); } }
public static void ExitOutput(CircleOfChildren children, int syllablesCount, int countOfChildren = 0) { foreach (var item in children.GetChildrenInOrder(syllablesCount, countOfChildren)) { Console.Write(item + " "); } }