Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Alternatively:

    var filtered = new List<int>{1, 2, 3, 4}.FindAll(x => x % 2 == 0);


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: