c# Beats 89.56%
\n\npublic class Solution {\n    public int MaxProduct(int[] nums) {\n        int first = 0;\n            int second = 0;\n            List<int> list = nums.ToL
\n```\npublic class Solution {\n    public int MaxProduct(int[] nums) {\n        int first = 0;\n            int second = 0;\n            List<int> list = nums.ToList<int>();\n\n            first = list.Max();\n            list.Remove(first);\n            second = list.Max();\n\n\n            return (first-1)*(second-1);\n    }\n}\n```
['C#']