Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# C语言中锯齿数组的列(排列)的成对组合#_C#_Combinations_Permutation_Jagged Arrays_Pairwise - Fatal编程技术网

C# C语言中锯齿数组的列(排列)的成对组合#

C# C语言中锯齿数组的列(排列)的成对组合#,c#,combinations,permutation,jagged-arrays,pairwise,C#,Combinations,Permutation,Jagged Arrays,Pairwise,关于C#中锯齿数组的列(排列)成对组合,我需要您的帮助和建议,为了更清楚,让我举一个例子: 输入阵列: String[][] arr = { new String[] {"A", "B", "C"}, new String[] {"D", "E", "F"}, new String[] {"G", "H", "I"} }; 输出阵列应为:

关于C#中锯齿数组的列(排列)成对组合,我需要您的帮助和建议,为了更清楚,让我举一个例子:

输入阵列:

String[][] arr = {
                    new String[] {"A", "B", "C"},
                    new String[] {"D", "E", "F"},
                    new String[] {"G", "H", "I"}
                   };
输出阵列应为:

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

你试过什么,到底有什么问题?这不是代码编写或教程服务;以和为例,我试着为列做了两个for循环,其中我得到了两个F_和S以及S_和T的组合,但我不能得到F_和T,这就是我接下来要问的问题,以提供一个。。看看是否有用。非常感谢你,吉米!:)