I\'m new to LINQ and I have this situation. I have this table:
ID Date Range 1 10/10/10 9-10 2 10/10/10 9-10 3 10/10/10 9-10 4 10/10/10 8-9 5 10/11/10 1-2 6 10/
unfortunately I can't test this at the moment but give this a try:
List items = GetItems(); items.Max(t=>t.Range.Distinct().Count());