C# simple solution | 1ms beats 100%
\n\n\n# Code\ncsharp []\npublic class Solution {\n    public bool CanBeEqual(string s1, string s2) {\n        if($"{s1[0]}{s1[2]}"!=$"{s2[0]}{s2[2]}" && $"{s1[0
![image.png](https://assets.leetcode.com/users/images/d96d7d77-e0fd-4c1a-a4a2-bcc88228fb6f_1729326485.9297671.png)\n\n\n# Code\n```csharp []\npublic class Solution {\n    public bool CanBeEqual(string s1, string s2) {\n        if($"{s1[0]}{s1[2]}"!=$"{s2[0]}{s2[2]}" && $"{s1[0]}{s1[2]}"!=$"{s2[2]}{s2[0]}")\n            return false;\n        if($"{s1[1]}{s1[3]}"!=$"{s2[1]}{s2[3]}" && $"{s1[1]}{s1[3]}"!=$"{s2[3]}{s2[1]}")    \n            return false;\n        return true;\n    }\n}\n```
['C#']