main.cs97 chars5 lines
This code sorts a collection of "events" by their "start" date/time property, selects the "date" component of the "start" date/time property, returns only distinct dates, and finally takes the first 20 dates in the resulting sequence.
gistlibby LogSnag