I've tried looking and I didn't find much for what I'm trying to accomplish.
Lets say that I have a List<int>
that has around 50 numbers
List<int> _myList = new List<int>();
for (int i = 0; i < 49; i++)
{
_myList.Add(i);
}
How do I get a list of combinations based on an array for two?
For example my result set would look like
1,1
1,2
1,3
1,4
1,5
and those are considered unique. Is it possible to say 1,2
is the same as 2,1
?