Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 251 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 251 Bytes

Provides simple-to-use Every and ForEvery extension methods in C#.

var data = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
data.Every(3); // 3, 6, 9
data.ForEvery(3, x => Console.WriteLine(x)); // writes 3, 6, 9 to the console