public static void ShowFigure(SystemFigure figure) { foreach (GeometricFigure item in figure) { Console.WriteLine(item); } }
static void Main(string[] args) { SystemFigure figures = new SystemFigure(); View.ShowFigure(figures); Console.ReadLine(); }