This commit is contained in:
CortexCore
2023-06-05 19:57:17 +08:00
parent f05e28ec58
commit 7f2fea821c
6195 changed files with 489001 additions and 636 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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);
}
}
}
}