I have 10 words. How can I get all possible combinations of 5 words (n=10, k=5) . Order doesn't matter .
For example: "A", "B", "C", if k=2 (n=3 in this case) , he would like to use AB, BC and AC. Perhaps you know some useful code or example.
PS Sorry if I'm not right enough because I don't know English very well.
string c # combinations words
Daria
source share