IntelliTect/CodingGuidelines

proposal: ban List<T>.ForEach

Opened this issue · 0 comments

List.ForEach is yucky and there's no scenario where it should be used instead of a foreach loop.

Eric Lippert agrees: https://ericlippert.com/2009/05/18/foreach-vs-foreach/