コード例 #1
0
        static void Main(string[] args)
        {
            ShapeMaker facade = new ShapeMaker();

            facade.DrawCircle();
            facade.DrawRectangle();
            facade.DrawSquare();
            Console.ReadLine();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            ShapeMaker shapeMaker = new ShapeMaker();

            shapeMaker.DrawCircle();
            shapeMaker.DrawRectangle();
            shapeMaker.DrawSquare();

            Console.Read();
        }