dotnet·.NET Programmingbysboulema Announcing .NET 8 Preview 5 - .NET Bloghttps://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-5/Open linkView original on lemmy.world10Comments2
schmalls lemmy.world1Hide 1 replyI don't think I am a fan of the analyzer to prefer Count or Length checks over .Any(). The readability of any is much clearer in my opinion.1
I don't think I am a fan of the analyzer to prefer
CountorLengthchecks over.Any(). The readability of any is much clearer in my opinion.Agreed! Doesn't feel natural. The IsEmpty check feels acceptable though...