Posts tagged with » linq
All Tags1 post found
Two simple tips for working with LINQ and IEnumerable<T>
This article provides two tips for working with LINQ and IEnumerable<T>: use Any() instead of Count() to check for non-empty return values, and use Enumerable.Empty<T> and never return null.
