Cartesian Product + N x M Dynamic Array
问题 I have looked hours for a solution without any success. Hopefully someone can help me out. I have a dynamic array of N items on M origin zip codes. For instance: Item 1: 11001, 54010, 60621 Item 2: 11001, 60621 Item 3: 60621 I want to create a new array that will look like this: Route 1: 11001, 11001, 60621 Route 2: 11001, 60621, 60621 Route 3: 54010, 11001, 60621 etc - until Route 6. Suggestions? ---------------------- Is there any way to accomplish this WITHOUT using Linq? VB.net and Linq