committed by
GitHub
parent
ea60a81fdf
commit
103bc19508
16
Pow3r/LinqHelper.cs
Normal file
16
Pow3r/LinqHelper.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Pow3r
|
||||
{
|
||||
public static class LinqHelper
|
||||
{
|
||||
public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T> action)
|
||||
{
|
||||
foreach (var item in enumerable)
|
||||
{
|
||||
action(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user