static void Main(string[] args)
    {
        HondaAccord danielsCar = new HondaAccord();
            ChevySilverado casonsdreamCar = new ChevySilverado();
            Ford150 tomsCar = new Ford150();

            Car[] cars = new Car[3];
            cars[0] = danielsCar;
            cars[1] = casonsdreamCar;
            cars[2] = tomsCar;

            IStoppable[] vehicles = new IStoppable[3];
            vehicles[0] = danielsCar;
            vehicles[1] = casonsdreamCar;
            //vehicles[2] = tomsCar;
            foreach (var v in vehicles)
            {
                v.Brake();
            }

            Square s = new Square();

            s.LengthOfSide = 10;

            Triangle t = new Triangle();
            t.LengthOfSide = 5;

            //Polygon p = new Polygon();
            //p.NumberOfSides = 6;
            //p.LengthOfSide = 10;

            var areaOfP = s.GetArea();
            Console.WriteLine($"The area is {areaOfP} for this {s.GetShapeName()}. # of sides: {s.NumberOfSides}. Length of Sides: {s.LengthOfSide}");

            var areaOfP2 = t.GetArea();
            Console.WriteLine($"The area is {areaOfP2} for this {t.GetShapeName()}. # of sides: {t.NumberOfSides}. Length of Sides: {t.LengthOfSide}");

            Console.ReadLine();
    }