예제 #1
0
 public static void ShowFigure(SystemFigure figure)
 {
     foreach (GeometricFigure item in figure)
     {
         Console.WriteLine(item);
     }
 }
예제 #2
0
        static void Main(string[] args)
        {
            SystemFigure figures = new SystemFigure();

            View.ShowFigure(figures);

            Console.ReadLine();
        }