I have this following array in C#:
string[][] arrayofArrays = getArray();
I know that the arrays which are in arrayofArrays have a length of 2. My question is the following: is it possible to "split" or to "separate" the principal array in two arrays?
Thanks.
EDIT: I would like to know if there is a way which is already implemented in C#, I know how to do that with an algorithm.
EDIT 2: here is an example of what I need:
// here are the data:
string[][] arrayofArrays = {{"1", "a"}, {"2", "b"}, {"3", "c"}};
//here is what I need as output:
string[] array1 = {"1", "2", "3"};
string[] array2 = {"a", "b", "c"};
getArray()method and the corresponding expected content of thearrayOfArraysobject?