AsyncEnumerable.Range(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a sequence of integral numbers within a specified range.
public:
static System::Collections::Generic::IAsyncEnumerable<int> ^ Range(int start, int count);
public static System.Collections.Generic.IAsyncEnumerable<int> Range(int start, int count);
static member Range : int * int -> System.Collections.Generic.IAsyncEnumerable<int>
Public Function Range (start As Integer, count As Integer) As IAsyncEnumerable(Of Integer)
Parameters
- start
- Int32
The value of the first integer in the sequence.
- count
- Int32
The number of sequential integers to generate.
Returns
An IAsyncEnumerable<T> that contains a range of sequential integral numbers.
Exceptions
start
+ count
-1 is larger than MaxValue.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.