I can have N arrays of different lengths.
The important thing is that I do not know how many arrays I can have.
Suppose we have 3 arrays:
arr1: { obj11, obj12, obj13, ...., obj1J } arr2: { obj21, obj22, obj23, .........., obj2K } arr3: { obj31, obj32, obj33, ................, obj3L }
How can I create combinations of each element with each other as follows:
1. [obj11, obj21, obj31] 2. [obj11, obj21, obj32] .. L. [obj11, obj21, obj 3L] L+1.[obj11, obj22, obj 31] ....
Speaking of a C # implementation (maybe Linq?)
source share