Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
681 B
2
Indexable
Never
internal class Program
    {
    static void Main(string[] args)
    {
        int[,] array = new int[9, 9]
        {
            { 1,1,1,1,1,1,1,1,1},
            { 1,0,0,0,0,0,0,0,1},
            { 1,0,1,1,1,1,1,0,1},
            { 1,0,1,0,0,0,1,0,1},
            { 1,0,1,0,1,1,1,0,1},
            { 1,0,1,0,0,0,0,0,1},
            { 1,0,1,1,1,1,1,1,1},
            { 1,0,0,0,0,0,0,0,0},
            { 1,1,1,1,1,1,1,1,1}
            
        };
        for (int i = 0; i<9; i++)
        {
            for (int j = 0; j<9; j++)
            {
                Console.Write(array[i,j]);
            }
            Console.WriteLine() ;
        }
    }
    }