static void Main(string[] args) { TableTop t = new TableTop(3.5, 2.5); t.Display(); Console.ReadLine(); }
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(); }