07.MatrixОfPalindromes

using System;

class MatrixOfStrings
{
    static void Main()
    {
        Console.Write("Enter the height and width for matrix:");
        int height = int.Parse(Console.ReadLine());
        int width = int.Parse(Console.ReadLine());

        string[,] matrix = new string[height,width];

        for (int row = 0; row < height; row++)
        {
            for (int col = 0; col < width; col++)
            {
                    matrix[row, col] =
                    "" + (char)('a' + row)+ (char)('a'+row + col)+ (char)('a' + row);
            }
            Console.WriteLine();
        }
        for (int row = 0; row < height; row++)
        {
            for (int col = 0; col < width; col++)
            {
                Console.Write("{0}", matrix[row, col] + " ");
            }
            Console.WriteLine();
        }
        Console.WriteLine("\n");
    }
}