Best of Nick Chapsas — August 2024
- 1
- 2
Nick Chapsas·2y
Stop Using IEnumerable The Wrong Way in .NET! | Code Cop #019
In this post, Nick addresses the common misconceptions about using IEnumerable in .NET, particularly the misuse of the ConvertAll method. He highlights the flaws in benchmarking methods and emphasizes the importance of understanding deferred execution in IEnumerable. Nick also demonstrates more accurate benchmarking practices and reinforces the nuanced performance differences between ConvertAll and the Select method from LINQ.