concatenation of all combination from different Lists in c#
- by shan
i have a List and i m grouping it into different lists.
like:-List("a","b","c","it","as","am","cat","can","bat")
3 list List1:-a,b,c List2:-it,as,am List3:-cat,can,bat
how can i concat the all possible combination from this lists.
output like:
a,it,cat
b,it,cat
c,it,cat
a,am,cat
b,am,cat
c,am,cat
.
.
.
.
etc so on...