I have a IEnumerable collection of objects. The objects have a field LastedUpdated which is a DateTime field.
I want to filter the collection, given a timestamp that I have, to return the record in the collection with that timestamp and the "next record" in time (based on this field) because I then want to have some code do a "diff" between the two different records to show what has changed.
I am trying to figure out the best way to take a collection and do this filtering possibly using LINQ
Any suggestions?