ArrayMath.ToRange Method

Converts a Range to a Range.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static Range ToRange(
	this Range range,
	int length
)

Parameters

range  Range
The range to convert.
length  Int32
The length of the dimension the range applies to.

Return Value

Range
The equivalent of range as a Range.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Range. 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