Generate Permutation and Combinations of a given string
Posted on 2012-03-16
I have a String (e.g. GUIDE ANTIMICROBIAL TARGET) which contains some words ( one or more).
I want to generate all Permutations and Combinations with these words and the output should be like following:
GUIDE ANTIMICROBIAL TARGET
......... of all 3 words ...........
kindly suggest some code which will generate strings for all levels (1,2,3) and only provide the C# codes.