A
AsuWoo
hi,
I want to implement a function that prints all possible combinations of a
characters in a string,eg. input "123"into a textbox,
add "1","2","3","12","13","23","123",to a listbox,Or "ab" into a textbox,add
"a","b","ab"in a listbox,
but two combinations that differ only in ordering of their characters are
the same combination. in other words "12" is the same as "21",
i want to know hao to implement by c#,
thanx
I want to implement a function that prints all possible combinations of a
characters in a string,eg. input "123"into a textbox,
add "1","2","3","12","13","23","123",to a listbox,Or "ab" into a textbox,add
"a","b","ab"in a listbox,
but two combinations that differ only in ordering of their characters are
the same combination. in other words "12" is the same as "21",
i want to know hao to implement by c#,
thanx