Beispiel #1
0
        public static void Main(string[] args)
        {
            Rectangle rectangle = new Rectangle();

            Console.WriteLine("Area of Rectangle Length: {0} and Breadth: {1} = {2}", 100, 200, rectangle.FindArea(100, 200));
            Console.WriteLine("Perimeter of Rectangle Length: {0} and Breadth: {1} = {2}", 100, 200, rectangle.FindPerimeter(100, 200));
        }