static void Run() { Rectangle r = new Rectangle(); r.AcceptParameters(); r.Display(); Console.ReadLine(); Triangle t = new Triangle(); t.AcceptParameters(); t.Display(); Console.ReadLine(); Circle c = new Circle(); c.AcceptParameters(); c.Display(); Console.ReadLine(); }