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

LINQ has an .Empty() extension method, and you should use that instead of .Count()==0 when determining if an expression is empty.


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

Search: