static void Main(string[] args) { Rectangle r = new Rectangle(); r.acceptDetails(); r.displayDetails(); Console.ReadLine(); }
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(); }
static void Main(string[] args) { Rectangle r = new Rectangle(); //r.Acceptdetails(); //r.length = 4.5; //r.width = 3.5; //r.Acceptdetails(); r.length = 4.5; r.width = 3.5; r.Display(); Console.ReadLine(); }