static void Main(string[] args) { Rectangle r = new Rectangle(); r.AcceptDetails(); r.GetArea(); r.display(); }
static void Main(string[] args) { Rectangle r = new Rectangle(); r.AcceptDetails(); r.Display(); Console.ReadLine(); }