Class EnumerableExtensions
Defines some extensions for the System.Collections.Generic.IEnumerable<> interface.
Inheritance
System.Object
EnumerableExtensions
Namespace: Solti.Utils.Primitives
Assembly: Solti.Utils.Primitives.dll
Syntax
public static class EnumerableExtensions : Object
Methods
ForEach<T>(IEnumerable<T>, Action<T, Int32>)
Iterates through the source collection.
Declaration
public static void ForEach<T>(this IEnumerable<T> src, Action<T, int> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | src | |
System.Action<T, System.Int32> | callback |
Type Parameters
Name | Description |
---|---|
T |