public class PermutationGenerator {
return this.charList.ToString();
charList = value.ToCharArray();
public PermutationGenerator(string input) {
private void Swap( int a, int b) {
public void Generate(int index) {
if(index == charList.GetLength(0)) {
Console.WriteLine(charList);
for(int i = index; i < charList.GetLength(0); i++ ) {
public static void Main()
Console.WriteLine("Hello World");
PermutationGenerator generator = new PermutationGenerator("abc");