示例#1
0
 static void Main(string[] args)
 {
     Rectangle r = new Rectangle();
     r.AcceptDetails();
     r.GetArea();
     r.display();
 }
示例#2
0
        static void Main(string[] args)
        {
            Rectangle r = new Rectangle();

            r.AcceptDetails();
            r.Display();
            Console.ReadLine();
        }