static void Main(string[] args)
        {
            var circle1 = new MyShapes.Circle();
            var circle2 = new My3DShapes.Circle();

            The3DHexagon hexagon = new The3DHexagon();
        }
示例#2
0
        static void Main(string[] args)
        {
            RegularShape.Hexagon hex = new RegularShape.Hexagon();
            RegularShape.Circle  Cir = new RegularShape.Circle();
            RegularShape.Square  squ = new RegularShape.Square();

            ThreeDemensional.Hexagon hex2 = new ThreeDemensional.Hexagon();
            ThreeDemensional.Circle  cir2 = new ThreeDemensional.Circle();
            ThreeDemensional.Square  squ2 = new ThreeDemensional.Square();
        }