static void Main(string[] args) { RectangleApp r = new RectangleApp(); r.Acceptdetails(); r.Display(); Console.ReadLine(); }
static void Main(string[] args) { RectangleApp r = new RectangleApp(); r.length = 4.5; r.width = 3.5; r.Display(); Console.ReadLine(); }