permutation in c#

前端 未结 5 2127
无人共我
无人共我 2021-01-13 05:16

Is it possible to generate all permutations of a collection in c#?

char[] inputSet = { \'A\',\'B\',\'C\' };
Permutations permutations = new Permu         


        
5条回答
  •  感情败类
    2021-01-13 05:44

    There's nothing built in.

    I've found a a couple of Code Project articles here and here which might help you implement your own class.

提交回复
热议问题