public void TestTwoDimIdlIntArray() { int[,] arg = new int[, ] { { 1, 2 }, { 3, 4 } }; int[,] result = m_testService.EchoInt2Dim2x2(arg); Assert.AreEqual(arg.GetLength(0), result.GetLength(0)); Assert.AreEqual(arg.GetLength(1), result.GetLength(1)); for (int i = 0; i < arg.GetLength(0); i++) { for (int j = 0; j < arg.GetLength(1); j++) { Assert.AreEqual(arg[i, j], result[i, j]); } } }