for matrix GetLength min mas for matrix GetLength if min mas min mas

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
for (i = 0; i < matrix.GetLength(0); ++i)
{
min = mas[i];
for (j = i + 1; j < matrix.GetLength(0); ++j)
{
if ( min > mas[j])
min = mas[j];
}
.........
}