Pruthvi Patel

Pruthvi Patel

  • NA
  • 129
  • 21.5k

Convert two dimensional array into one dimensional array

Dec 9 2016 10:15 AM
 
Decimal[,] num=new decimal[100,100];
 This is element of 2darray
1   2     3
4   5     6
7   8     9
10 11  12 
now i am want to convert it in one dimensional array
 1
4
7
10
2
5
8
11
3
6
9
12
 like this how to do?
please help me
 

Answers (2)