Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- allDates.Sort(Function(d1, d2) d2.CompareTo(d1))
- allDates.GroupBy(Function(n) n).Select(Function(g) New With {.Number = g.Key, .Quantity = g.Count}).OrderByDescending(Function(o) o.Quantity).FirstOrDefault
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement