MoreLinq has IEnumerable<T>.ForEach
and a ton of other useful extensions. It's probably not worth taking the dependency just for ForEach
, but there's a lot of useful stuff in there.
↧
Answer by solublefish for LINQ equivalent of foreach for IEnumerable
↧