There’s more than one way to grab the first, last, or count from a collection—LINQ (First(), Last(), Count()) or direct indexing. LINQ reads nicer… but does it pay a performance tax? 👀
Find out here 👇
#dotnet10 #MVPBuzz #CA1826 #CodePerformance
dotnettips.wordpress.com/2024/01/25/c...
