Skip to content

Instantly share code, notes, and snippets.

@scichelli
Created February 20, 2012 23:30
Show Gist options
  • Save scichelli/1872278 to your computer and use it in GitHub Desktop.
Save scichelli/1872278 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