private static SkipWhile ( int source, int &position, bool>.Func |
||
source | int | |
position | int | |
filter | bool>.Func | |
return | void |
private static void SkipWhile(int[] source, ref int position, Func<int, bool> filter)
{
while (position < source.Length && filter(source[position]))
{
position++;
}
}