Click or drag to resize
QueryableExRange Method (IQueryProvider, Int32, Int32)
Generates a sequence of integral numbers within a specified range.

Namespace: System.Linq
Assembly: System.Interactive.Providers (in System.Interactive.Providers.dll) Version: 1.2.0.0
Syntax
C#
public static IQueryable<int> Range(
	this IQueryProvider provider,
	int start,
	int count
)

Parameters

provider
Type: System.LinqIQueryProvider
Query provider.
start
Type: SystemInt32
The value of the first integer in the sequence.
count
Type: SystemInt32
The number of sequential integers to generate.

Return Value

Type: IQueryableInt32
Sequence that contains a range of sequential integral numbers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also