// *********************************************************************** // Assembly : FCS.Lib // Author : FH // Created : 27-08-2016 // // Last Modified By : Frede H. // Last Modified On : 2020-08-30 // *********************************************************************** // // Copyright © FCS 2015-2020 // // // *********************************************************************** using System; using System.Collections.Generic; namespace FCS.Lib { /// /// Class ExtensionsEx. /// public static class ExtensionsEx { /// /// ForEach loop /// /// /// The items. /// The action. public static void ForEach(this IEnumerable items, Action action) { foreach (var item in items) action(item); } } }