i have a list of string
List< String> lst
A
B
C
i need to add the combination of each item with other items to the list like
A
B
C
A-B
A-C
B-C
now i’m usign nested for loop for this.
is there any way to do this using linq?
thanks in advance
1 Answer