BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19042.1348 (20H2/October2020Update)
Intel Core i7-7500U CPU 2.70GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores
.NET SDK=5.0.402
[Host] : .NET 5.0.11 (5.0.1121.47308), X64 RyuJIT
ShortRun : .NET 5.0.11 (5.0.1121.47308), X64 RyuJIT
Job=ShortRun IterationCount=3 LaunchCount=1
WarmupCount=3
| Method | listSize | Mean | Error | StdDev | Rank |
| For_List_Int | 50 | 55.11 ns | 3.133 ns | 0.172 ns | 1 |
| For_IEnumerable_Int | 50 | 877.68 ns | 12.990 ns | 0.712 ns | 6 |
| Foreach_List_Int | 50 | 118.33 ns | 30.096 ns | 1.650 ns | 2 |
| Foreach_IEnumerable_Int | 50 | 273.15 ns | 213.269 ns | 11.690 ns | 4 |
| Linq_Sum_List_Int | 50 | 354.64 ns | 18.081 ns | 0.991 ns | 5 |
| Linq_Sum_IEnumerable_Int | 50 | 247.81 ns | 6.799 ns | 0.373 ns | 3 |