using System; using System.Collections.Generic; namespace SK.Framework { public static class IEnumerableExtension { public static IEnumerable ForEach(this IEnumerable self, Action action) { foreach (var item in self) { action(item); } return self; } } }