public void Run()
        {
            var shapeAreaPrinter = new ShapeAreaPrinter();
            var square = new Square {SideLength = 5};

            shapeAreaPrinter.PrintShapeArea(square);
        }
Beispiel #2
0
        public void Run()
        {
            var shapeAreaPrinter = new ShapeAreaPrinter();
            var square           = new Square {
                SideLength = 5
            };

            shapeAreaPrinter.PrintShapeArea(square);
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            var shapeAreaPrinter = new ShapeAreaPrinter();
            var square           = new Square {
                SideLength = 5
            };

            shapeAreaPrinter.PrintShapeArea(square);
        }