Skip to content

M_CodeJam_Ranges_Range_CreateExclusiveTo__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

Range.CreateExclusiveTo(T) Method (T, T)

Creates the range.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Range<T> CreateExclusiveTo<T>(
	T fromValue,
	T toValue
)

VB

Public Shared Function CreateExclusiveTo(Of T) ( 
	fromValue As T,
	toValue As T
) As Range(Of T)

F#

static member CreateExclusiveTo : 
        fromValue : 'T * 
        toValue : 'T -> Range<'T> 

Parameters

 

fromValue
Type: T
The value of the boundary From inclusive.
toValue
Type: T
The value of the boundary To exclusive.

Type Parameters

 

T
The type of the range values.

Return Value

Type: Range(T)
A new range.

See Also

Reference

Range Class
CreateExclusiveTo Overload
CodeJam.Ranges Namespace

Clone this wiki locally