IntelliTect / IntelliTect/CodingGuidelines

proposal: ban List<T>.ForEach

Open
#253 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
12
Forks
16
Avg merge
2m
Merged PRs (30d)
7

Description

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/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.