I have a List>. I would like to convert it into a List where each int is unique. I was wondering if anyone had a
List>
List
List result = listOfLists .SelectMany(list => list) .Distinct() .ToList();