示例#1
0
        static void Main(string[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5);

            t.Display();
            Console.ReadLine();
        }
 static void Main(string[] args)
 {
     Console.WriteLine("Use the derived class Tabletop.  Base class is Rectangle");
     Tabletop t = new Tabletop(4.5, 7.5);
     t.Display();
     Console.ReadLine();
 }
示例#3
0
        static void Main(string[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5);

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