-1
I'm brand new to C# programming and was wondering how I would go about creating a list of all the possible permutations of an array of numbers.
Example:
6(1,2)
7(1,2,3,4)
8(1,2,3,4,5,6,7)
9(1,2,3,4,5)
10(8,9,10,11,12)
Result:
(6,1),(7,1),(8,1),(9,1),(10,8)
(6,2),(7,1),(8,1),(9,1),(10,8)
...