Answer to Question #335181 in C# for huwab

Question #335181

a two dimensional array with two rows and 3 culumn


1
Expert's answer
2022-04-28T16:33:45-0400
 static void Main()
    {
        int[,] array = new int[2, 3];
        for (int i = 0; i < array.GetLength(0); i++)
        {
            for (int j = 0; j < array.GetLength(1); j++)
            {
                array[i, j] = i + j;
            }
        }
    }

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS