Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool Equals(int[][] m1, int[][] m2)
- {
- for (int i = 0; i < m1.Length; i++)
- {
- for (int j = 0; j < m1[i].Length; j++)
- {
- if (!(m1[i][j] == m2[i][j])) return false;
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment