static void Main() { int n = Int32.Parse(Console.ReadLine()); int[] arr = new int[n]; for (int i = 0; i < n; i++) { arr[i] = i + 1; } Permutations p = new Permutations(); p.setper(arr); }