using System.Collections.Generic;
public static void Main()
Console.Write("Въведи брой редове:");
int redove = int.Parse(Console.ReadLine());
Console.Write("Въведи брой колони:");
int koloni = int.Parse(Console.ReadLine());
int[,] arr = new int [redove,koloni];
Console.WriteLine("Попълни матрицата:");
for (int row = 0; row < redove; row++)
for (int col = 0; col< koloni; col++)
Console.Write("елемент[{row}, {col}] =");
arr[row, col] = int.Parse(Console.ReadLine());
Console.WriteLine("Матрицата има вида:");
for(int row = 0; row < redove; row++)
for(int col = 0; col < koloni; col++)
Console.Write("{0, 8}", arr[row, col]);
Console.WriteLine("МИНИМАЛНИТЕ ЕЛЕМЕНТИ ПО КОЛОНИ СА:");
for (int col = 0; col < koloni; col++)
int colMin = arr[0, col];
for (row = 0; row < redove; row++)
if(colMin > arr [row,col])
Console.Write("{0, 8}", colMin);