18 lines
301 B
C#
18 lines
301 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Text;
|
||
|
using System;
|
||
|
|
||
|
namespace Rokojori
|
||
|
{
|
||
|
public class Arrays
|
||
|
{
|
||
|
public static void ForEach<T>( T[] values, Action<T> callback )
|
||
|
{
|
||
|
foreach ( var it in values )
|
||
|
{
|
||
|
callback( it );
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|