TizzyT

C# version -TizzyT

Sep 24th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1.         public static bool Equals(int[][] m1, int[][] m2)
  2.         {
  3.             for (int i = 0; i < m1.Length; i++)
  4.             {
  5.                 for (int j = 0; j < m1[i].Length; j++)
  6.                 {
  7.                     if (!(m1[i][j] == m2[i][j])) return false;
  8.                 }
  9.             }
  10.             return true;
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment