Simple Intuitive Approach | Easy to Understand | Beats 100%
\npublic class Solution {\n    public long MaxMatrixSum(int[][] matrix) {\n        int r = matrix.Length;\n        long total = 0;\n        int negNum = 0;\n   
```\npublic class Solution {\n    public long MaxMatrixSum(int[][] matrix) {\n        int r = matrix.Length;\n        long total = 0;\n        int negNum = 0;\n        int minNeg = int.MaxValue;\n        bool zero = false;\n        int minNum = int.MaxValue;\n        \n        for(int i=0; i<r; i++){\n            for(int j=0; j<r; j++){\n                int num = matrix[i][j];\n                total += Math.Abs(num);\n                if(num == 0){\n                    zero = true;\n                }\n                minNum = Math.Min(Math.Abs(num), minNum);\n                \n                if(num < 0){\n                    negNum++;\n                    minNeg = Math.Min(minNeg, Math.Abs(num));\n                }\n            }\n        }\n        \n        if(zero){\n            return total;\n        }\n        \n        if(negNum % 2 != 0){\n            total = minNum>minNeg ? total - (minNeg * 2) : total - (minNum * 2);\n        }\n        \n        return total;\n    }\n}\n\n```
[]