private void Print(string indent) { foreach (Actor child in Children.Begin()) { Console.WriteLine(indent + child); if (child is Group) (child as Group).Print(indent + "| "); } Children.End(); }