Skip to content

M_CodeJam_Ranges_Range_MaxFrom__1

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

Range.MaxFrom(T) Method

Returns the greater one of the two From boundaries.

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

Syntax

C#

public static RangeBoundaryFrom<T> MaxFrom<T>(
	T value1,
	T value2
)

VB

Public Shared Function MaxFrom(Of T) ( 
	value1 As T,
	value2 As T
) As RangeBoundaryFrom(Of T)

F#

static member MaxFrom : 
        value1 : 'T * 
        value2 : 'T -> RangeBoundaryFrom<'T> 

Parameters

 

value1
Type: T
The value of the boundary1.
value2
Type: T
The value of the boundary2.

Type Parameters

 

T
The type of the boundary value.

Return Value

Type: RangeBoundaryFrom(T)
The greater one of the two From boundaries.

See Also

Reference

Range Class
CodeJam.Ranges Namespace

Clone this wiki locally