Hacker News new | ask | show | jobs
by theolivenbaum 392 days ago
To add on that, you can define your lambdas as static to make sure you're not capturing anything by mistake.

Something like dates.Where(static x => x.Date > DateTime.Now)