using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp12
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string[,] sigma = {
                {"Kevin v","Ingus N","Dimitrijs M"},
                {"Mikus T","Andrejs S","Roberts D"}
            };
            Klasessaraksts(sigma);
        }
        public static void Klasessaraksts(string[,] sigma)
        {
            for (int i = 0; i < sigma.GetLength(0); i++)
            {
                Console.WriteLine($"Grupa {i + 1}:");
                for (int j = 0; j < sigma.GetLength(1); j++)
                {
                    {
                        Console.WriteLine(sigma[i, j]);
                    }
                }
                Console.WriteLine();

            }
            Console.ReadKey();
        }
    }
}



