DEV Community

Discussion on: Dear LINQ, I love you, but I'm going back to my roots

Collapse
 
jeansberg profile image
Jens Genberg

Good article which inspires to look more closely at what LINQ calls do under the hood.

For removing items in a loop I like reversing the loop:


for (var i = list.Count - 1; i >= 0 ; i--)
...