ALinq.AsyncEnumerable.Range C# (CSharp) Method

Range() public static method

public static Range ( int start, int count, int step ) : IAsyncEnumerable
start int
count int
step int
return IAsyncEnumerable
        public static IAsyncEnumerable<int> Range(int start,int count,int step)
        {
            if ( start < 0 )
            {
                throw new ArgumentOutOfRangeException("start","start must be greater or equal to zero");
            }

            if ( count < 0 )
            {
                throw new ArgumentOutOfRangeException("count","count must be greater or equal to zero");
            }

            if ( step < 1 )
            {
                throw new ArgumentOutOfRangeException("step", "step must be greater than zero");
            }

            return RangeCore(start, count, step).ToAsync();
        }

Same methods

AsyncEnumerable::Range ( int start, int count ) : IAsyncEnumerable