Grilled Cheese

ExploreLog inSign up

Explore

PostsPeople
LatestRanked
@dotnetdave.bsky.socialSep 25, 2026, 3:16 PM

Is it always better to use Any() over Count() in #dotnet? I analyzed #CA1827 and benchmarked the performance of Count(), Any(), and LongCount() for checking whether an IEnumerable<T> contains items. The results will surprise you! Check it out!
dotnettips.wordpress.com/2025/03/26/m...
#MVPBuzz

Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-13 06:05:14 EDT