I'm wondering if I can do the following query dynamically.
var perms = from a in matrix[0]
from b in matrix[1]
from c in matrix[2]
select new[] { a, b, c};
matrix is a dynamic object and I'd like to have the same query working regardless of the matrix dimensions.
Thanks.