1. As the name suggests, LINQ is a query, it is preferred not to have side effects.
2. Use Any() instead of Count() > 0 when you need to find out if a list is not empty.
Tuesday, February 23, 2016
Comments by IntenseDebate
Posting anonymously.
LINQ Guidelines
2016-02-23T17:30:00+08:00
bbl
Subscribe to:
Post Comments (Atom)