- 
        Couldn't load subscription status. 
- Fork 35
M_CodeJam_Ranges_Range_TryCreateExclusive__1
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        3 revisions
      
    Tries to create the range. Returnss empty range if failed.
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Range<T> TryCreateExclusive<T>(
	T fromValue,
	T toValue
)VB
Public Shared Function TryCreateExclusive(Of T) ( 
	fromValue As T,
	toValue As T
) As Range(Of T)F#
static member TryCreateExclusive : 
        fromValue : 'T * 
        toValue : 'T -> Range<'T> 
- fromValue
- Type: T
 The value of the boundary From exclusive.
- toValue
- Type: T
 The value of the boundary To exclusive.
- T
- The type of the range values.
Type: Range(T)
A new range or empty range if the boundaries forms invalid range.
Range Class
TryCreateExclusive Overload
CodeJam.Ranges Namespace