Lets say I have 4 lists
- List<int> list1 = new List<int>();
- list1.Add(4);
- list1.Add(5);
- list1.Add(6);
- list1.Add(7);
- list1.Add(9);
- list1.Add(1);
-
- List<int> list2 = new List<int>();
- list1.Add(4);
- list1.Add(7);
- list1.Add(3);
- list1.Add(0);
-
- List<int> list3 = new List<int>();
- list1.Add(0);
- list1.Add(5);
-
- List<int> list4 = new List<int>();
- list1.Add(8);
- list1.Add(5);
- list1.Add(6);
- list1.Add(7);
- list1.Add(9);
- list1.Add(1);
- list1.Add(0);
- list1.Add(3);
- list1.Add(11);
i was thinking about starting with the list with the highest amount of number : list4[A] than loop to each list and see if the other lists contain that number and do A+1
so it gets to next value in the list4 until it reaches the end of the list
but there must be a more easy way that i don't know of yet