Skip to content

Instantly share code, notes, and snippets.

@scichelli
Created February 21, 2012 16:21
Show Gist options
  • Save scichelli/1877236 to your computer and use it in GitHub Desktop.
Save scichelli/1877236 to your computer and use it in GitHub Desktop.
LINQ: .Any() to the rescue
bool hasMissedDeadlines = deliverables
.Any(d => d.Deadline < _systemClock.Today);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment