Example #1
0
 static void Main(string[] args)
 {
     Rectangle r = new Rectangle();
     r.acceptDetails();
     r.displayDetails();
     Console.ReadLine();
 }
Example #2
0
 static void Main(string[] args)
 {
     Rectangle r = new Rectangle();
     r.AcceptDetails();
     r.GetArea();
     r.display();
 }
Example #3
0
 static void Main(string[] args)
 {
     Rectangle r = new Rectangle();
     r.Acceptdetails();
     r.Display();
     Console.ReadLine();
 }
Example #4
0
 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();
 }