Jamie Locatis
Web Developer

Enumeration Performance in .NET

Jun 18, 2018
.NET C#

Read more into enumeration and performance of different methods in .NET.

More often than not I find myself writing code without regard to it’s actual performance (good and bad, well mostly bad probably). You have a goal in front of you, the application needs to do something. If the perceived output performance of the code feels acceptable, most likely you move on. You don’t always think about the minute details of how it actually performs.

Antão Almada’s Excellent Dive Into .NET Enumeration

Read more into Antão Almada’s blog on .NET enumeration performance. His deep dive into IEnumerable() vs. IQueryable() is of particular interest. The big takeaway, if searching an IEnumerable() object, always use Any() to see if it contains what you’re looking for.

Share on Twitter!
If you liked this article and think others should read it, please share it on Twitter!