using System;
namespace P4_17
{
    class Program
    {
        static void Main(string[] args)
        {
            PrintArray(new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } });
            Console.ReadLine();
        }
       static  void PrintArray(int[,] arr)
        {
	    for (int i = 0; i < arr.GetLength(0) ; i++)
            {
                for (int j = 0; j < arr.GetLength(1); j++)
                {
                    System.Console.WriteLine("Element({0},{1})={2}", i, j, arr[i, j]);
                }
      }
	}
    }
}
