예제 #1
0
        static void Main(string[] args)
        {
            RectangleApp r = new RectangleApp();

            r.Acceptdetails();
            r.Display();
            Console.ReadLine();
        }
예제 #2
0
        static void Main(string[] args)
        {
            RectangleApp r = new RectangleApp();

            r.length = 4.5;
            r.width  = 3.5;
            r.Display();
            Console.ReadLine();
        }