Esempio n. 1
0
        static void Main(string[] args)
        {
            Triangle t = new Triangle(6, 4, 0.5);

            Console.WriteLine(t.calculatePerimeter());
            Circle c = new Circle(7);

            Console.WriteLine(c.calculateArea());
            Console.ReadKey();
        }