I got list<list<string>>
in list[x][0] are the entries from which I want to select unique entries, so such an entry will not be in any other list[x][0 ], when I select it, I would select the whole line list[x] . I did not find a suitable example for this in Linq, please help :(
EDIT
When John Skeet asks me to clarify, I cannot deny; -)
list<list<string>>
contains a list of row tables. Each row of the "table" contains several keys list[x][several_items] , and I want to get unique entries from the list β FIRST value in this "table".
Thus:
item[0] = "2","3","1","3" item[1] = "2","3","4","2" item[3] = "10","2" item[4]= "1","2"
-> unique means that I can output the lines item[3] and item[4] as unique. because the first occurrence of a number / string is important.
If there are 2 or more entries / rows in the list ( item[x] of which first item (item[x][0]) exists more than once, this is not unique.
The first element of each list is important to determine uniqueness. Maybe it would be easier if someone could help find a way to find a non-unique β so from the above example, I would only get the element [0] and the element [1] in the list
Skuta
source share