public static void Main()
Console.Write("Брой редове: ");
int m = int.Parse(Console.ReadLine());
Console.Write("Брой стълба: ");
int n = int.Parse(Console.ReadLine());
int[, ] matrix = new int[m, n];
Console.WriteLine("Въведете клетките на матрицата [100;999] :");
for (int row = 0; row < m; row++)
for (int col = 0; col < n; col++)
Console.Write("матрица[{0},{1}] = ", row, col);
matrix[row, col] = int.Parse(Console.ReadLine());
while (matrix[row, col] < 100 || matrix[row, col] > 999)
Console.Write(" Не е в интервала: ");
matrix[row, col] = int.Parse(Console.ReadLine());
for (int row = 0 ; row<matrix.GetLength( 0 ) ; row ++ )
for (int col = 0 ; col<matrix.GetLength( 1 ) ; col ++ )
Console.Write( " " +matrix[row, col] ) ;