Mono.Rocks.Int32Rocks.Step C# (CSharp) Метод

Step() публичный статический Метод

public static Step ( this self, int limit, int step ) : IEnumerable
self this
limit int
step int
Результат IEnumerable
        public static IEnumerable<int> Step(this int self, int limit, int step)
        {
            for (int i = self; i <= limit; i += step)
                yield return i;
        }