internal class Program { static void Main(string[] args) { int line = 1; int column = 0; int sum = 0; int productOfNumbers = 1; int[,] arrya = { { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 9 } }; for (int i = 0; i < arrya.GetLength(1); i++) { sum += arrya[line, i]; } for (int i = 0;i < arrya.GetLength(0); i++) { productOfNumbers *= arrya[i, column]; } for(int i = 0; i < arrya.GetLength(0) ; i++) { for (int j = 0; j < arrya.GetLength(1); j++) { Console.Write(arrya[i, j] + " "); } Console.WriteLine(); } Console.WriteLine($"сумма второй строки - {sum},\nпроизведение первого столбца - {productOfNumbers}."); } }