Avatar of monica73174
monica73174

asked on 

Need an algorithm to rearrange an arry in all possible combinations in VB.NET

I am trying to figure out a way in VB.NET to take an array of say 7 items and arrange it in all possible combinations.  So if I have a Char array or A,B,C,D,E,F,G my goal is to get it to A,C,B,D,E,F,G, A,C,D,BE,F,G etc.  Then I would like to store each of these in a new array that lists each new combination.  
Visual Basic.NET

Avatar of undefined
Last Comment
Mike Tomlinson

8/22/2022 - Mon