Answer the question
In order to leave comments, you need to log in
How to add values to a 2D array?
Good evening! Can you please tell me how to add values to a two-dimensional array?
There is an array: int[,] array = { {1, 2, 3}, {4, 5, 6} };
You need to do something like this: array += {7, 8, 9}; To become array = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
How can you do that?
PS Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question