I need your assistance and advice on pairwise combination of columns (permutations) of the jagged array in C#, to be more clear let me show an example:
Input array:
String[][] arr = {
new String[] {"A", "B", "C"},
new String[] {"D", "E", "F"},
new String[] {"G", "H", "I"}
};
Output arrays should be:
String[][] F_and_S = {
"A", "B",
"D", "E",
"G", "H",
} //first column & second column
String[][] F_and_T = {
"A", "C",
"D", "F",
"G", "I",
} //first column & third column
String[][] S_and_T = {
"B", "C",
"E", "F",
"H", "I",
} //second column & third column