Hi All,
I have a question regarding multidimensional array.
int[,] arr = { {1,2,3,4}, {5,6,7,8}, {9,10,11,12},{13,14,15,16} };
| 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 |
need to get the yellow color numbers and blue color numbers as separated outputs using nested for loop in C#.
Thank you in advanced.


Ganesan CRank #369 · 6.8K reputationPosted Aug 14, 2021, 1:57 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 15, 2021, 2:40 AM EDT