Easy solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```csharp []\npublic class Solution {\n    public int AreaOfMaxDiagonal(int[][] dimensions) {\n        int n=dimensions.Length;\n        double max=0; int maxb=0;\n        for(int i=0;i<n;i++)\n        {\n            int l=dimensions[i][0];\n            int b=dimensions[i][1];\n            double sq=Math.Sqrt((l*l)+(b*b));\n            Console.WriteLine(sq);\n            int a=l*b;\n            if(max<sq )\n            {\n                max=sq;\n                maxb=a;}\n            if(max==sq)\n                {\n                max=sq;\n                maxb=Math.Max(a,maxb);\n                }\n        }\n        return maxb;\n\n    }\n}\n```
['C#']