1 line C#
1 line using C# Linq\n\npublic int[][] FlipAndInvertImage2(int[][] A) {\n    return A.Select(row => row.Reverse().Select(col => col ^ 1).ToArray()).ToArray();\n
1 line using C# Linq\n```\npublic int[][] FlipAndInvertImage2(int[][] A) {\n    return A.Select(row => row.Reverse().Select(col => col ^ 1).ToArray()).ToArray();\n}\n```
[]