Exemple #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();
 }
Exemple #3
0
        static void Main(string[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5);

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