SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method Range

    Range(int, int, int)

    Generates a sequence of integral numbers within a specified range.

    Declaration
    public static IAsyncEnumerable<int> Range(int start, int count, int step)
    Parameters
    Type Name Description
    int start

    The value of the first integer in the sequence.

    int count

    The number of sequential integers to generate.

    int step

    The step increment for each returned value.

    Returns
    Type Description
    IAsyncEnumerable<int>

    An IEnumerable<T>that contains a range of sequential integral numbers.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    count is less than 0. -or- start + (count -1) * step cannot be contained by an int.

    © SuperLinq Authors. All rights reserved.