Vb.net all combinations
问题 I have 6 items which have to be combinated, items listed: ( this is an example) Ape Cow Deer | Small deer | Big deer sheep so 'deer' has 2 subitems. these items are all in an list listed like this: ape cow {deer | small deer | big deer} sheep so you can see which item has more items. what i want is all those combinations: ape cow deer sheep ape cow small deer sheep ape cow big deer sheep ( sometimes there are more then 6 items, sometimes there are less. Is someone who can help me with this?