I wonder if there's a way to convert jagged array , say [3][] into three one-dimensional arrays ?
2 Answers
It already is three one-dimensional arrays, effectively. Jagged arrays are not treated specially by the CLR, they are simply arrays of arrays. You just index the outer array to get one of the inner arrays.
Example:
var array1 = jaggedArray[0];
var array2 = jaggedArray[1];
var array3 = jaggedArray[2];