Virtu/Library/IEnumerableExtensions.cs
Sean Fausett eaaab47a6c Initial checkin.
--HG--
extra : convert_revision : svn%3Affd33b8c-2492-42e0-bdc5-587b920b7d6d/trunk%4019155
2009-05-22 14:37:50 +00:00

17 lines
359 B
C#

using System;
using System.Collections.Generic;
namespace Jellyfish.Library
{
public static class IEnumerableExtensions
{
public static void ForEach<T>(this IEnumerable<T> source, Action<T> action)
{
foreach (T item in source)
{
action(item);
}
}
}
}