Пример #1
0
        static void Main(string[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5);

            t.Display();
            Console.ReadKey();
        }
Пример #2
0
        static void Main(string[] args)
        {
            /*			Rectangle Rect = new Rectangle();
            Rect.setWidth(5);
            Rect.setHeight(7);
            Console.WriteLine("Total area: {0}", Rect.getArea());
            */
            Tabletop t = new Tabletop(4.5, 7.5);
            t.Display();

            Console.ReadKey();
        }
Пример #3
0
        static void Main(string[] args)
        {
/*			Rectangle Rect = new Rectangle();
 *                      Rect.setWidth(5);
 *                      Rect.setHeight(7);
 *                      Console.WriteLine("Total area: {0}", Rect.getArea());
 */
            Tabletop t = new Tabletop(4.5, 7.5);

            t.Display();

            Console.ReadKey();
        }