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
