static void Main(string[] args) { Tabletop t = new Tabletop(4.5, 7.5); t.Display(); Console.ReadKey(); }
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(); }
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(); }