Beispiel #1
0
        static void Main(string[] args)
        {
            Console.Write("Enter number: ");
            int range = int.Parse(Console.ReadLine());

            Combinatorics.Permutation permutationGenerator =
                new Combinatorics.Permutation(range);
            Console.WriteLine(permutationGenerator.GetAllPermutations());
        }
        static void Main(string[] args)
        {
            Console.Write("Enter number: ");
            int range = int.Parse(Console.ReadLine());

            Combinatorics.Permutation permutationGenerator = 
                new Combinatorics.Permutation(range);
            Console.WriteLine(permutationGenerator.GetAllPermutations());
        }