Tag: linq
All the articles with the tag "linq".
Two simple tips for working with LINQ and IEnumerable<T>
Published:3 min readThis 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.