using System; namespace Core.Util { /// <summary> /// Loop help class /// </summary>
public class LoopHelper { /// <summary> /// Loop the specified number of times /// </summary> /// <param
name="count"> Number of cycles </param> /// <param name="method"> Methods of implementation </param> public static
void Loop(int count,Action method) { for (int i = 0; i < count; i++) { method();
} } /// <summary> /// Loop the specified number of times /// </summary> /// <param name="count"> Number of cycles </param>
/// <param name="method"> Methods of implementation </param> public static void Loop(int count, Action
<int> method) { for (int i = 0; i < count; i++) { method(i); } } } }

Technology
©2019-2020 Toolsou All rights reserved,
It's unexpected Python Cherry tree (turtle The gorgeous style of Library ) Some East 14 Pay change 16 salary , Sincerity or routine ? Browser kernel ( understand )java Four functional interfaces ( a key , simple )HashMap Explain in detail html Writing about cherry trees , Writing about cherry trees os Simple use of module