ParallelEnumerable.Range(Int32, Int32) 메서드

정의

지정된 범위 내의 정수 병렬 시퀀스를 생성합니다.

public:
 static System::Linq::ParallelQuery<int> ^ Range(int start, int count);
public static System.Linq.ParallelQuery<int> Range (int start, int count);
static member Range : int * int -> System.Linq.ParallelQuery<int>
Public Function Range (start As Integer, count As Integer) As ParallelQuery(Of Integer)

매개 변수

start
Int32

시퀀스의 첫 번째 정수 값입니다.

count
Int32

생성할 순차적 정수의 개수입니다.

반환

순차적 정수 범위가 들어 있는 IEnumerable<Int32>(C#의 경우) 또는 IEnumerable(Of Int32)(Visual Basic의 경우)입니다.

예외

count 가 0보다 작거나 - start + count 1이 Int32.MaxValue보다 큽다.

적용 대상

추가 정보