This repository has been archived on 2025-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
|
using System;
|
|
|
|
namespace BITKit
|
|
{
|
|
public static partial class Extensions
|
|
{
|
|
public static void ForEach(this int self,Action<int> action)
|
|
{
|
|
for (int i = 0; i < self; i++)
|
|
{
|
|
action.Invoke(i);
|
|
}
|
|
}
|
|
}
|
|
} |