It has been some time since my last post, I went all out this and last year hoarding knowledge and experience. I am still doing it, mastering .Net beyond the limited Framework 4.8 and working on amazing automation projects. But I have come to realise during this time that this is my special place where I come take a break and to share the bits I found most interesting, at least from my humble opinion.
Let’s get started.
Why bother with LINQ when loops do the same ?
Here are a few reasons:
- Succint and easy to read, and thus, to mantain
- Because you can, it is cool and you save time using it
Am here another few to not use it:
- Performance, as it may be slightly slower than for/foreach loops. For more detail, read: https://markheath.net/post/linq-performance
- You want to build your own library of query functions
Leave a Reply