concatenation of all combination from different Lists in c#

Posted by shan on Stack Overflow See other posts from Stack Overflow or by shan
Published on 2010-05-27T07:39:12Z Indexed on 2010/05/27 7:41 UTC
Read the original article Hit count: 147

Filed under:

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...

© Stack Overflow or respective owner

Related posts about c#4.0