I'm trying to convert this Python function, which uses the itertools
library, to VB.Net:
permutations = itertools.product('ab', repeat=3)
The above function returns all permutations:
[['a','a','a'],
['a','a','b'],
['a','b','a'],
['a','b','b'],
['b','a','a'],
['b','a','b'],
['b','b','a'],
['b','b','b']]
Is there a nice clean way to do this in VB.Net?