示例#1
0
        static void Main(string[] args)
        {
            TableTop t = new TableTop(3.5, 2.5);

            t.Display();
            Console.ReadLine();
        }
示例#2
0
        static void Main(string[] args)
        {
            TableTop obj = new TableTop(4.5, 7.5);

            // Rectangle obj = new TableTop (4.5, 7.5);  //Both Works
            obj.Display();
            Console.Read();
        }