Skip to content

M_CodeJam_Ranges_Range_Max__1

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

Range.Max(T) Method (RangeBoundaryFrom(T), RangeBoundaryFrom(T))

Returns the greater one of the two boundaries.

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

Syntax

C#

public static RangeBoundaryFrom<T> Max<T>(
	RangeBoundaryFrom<T> boundary1,
	RangeBoundaryFrom<T> boundary2
)

VB

Public Shared Function Max(Of T) ( 
	boundary1 As RangeBoundaryFrom(Of T),
	boundary2 As RangeBoundaryFrom(Of T)
) As RangeBoundaryFrom(Of T)

F#

static member Max : 
        boundary1 : RangeBoundaryFrom<'T> * 
        boundary2 : RangeBoundaryFrom<'T> -> RangeBoundaryFrom<'T> 

Parameters

 

boundary1
Type: CodeJam.Ranges.RangeBoundaryFrom(T)
The boundary1.
boundary2
Type: CodeJam.Ranges.RangeBoundaryFrom(T)
The boundary2.

Type Parameters

 

T
The type of the boundary value.

Return Value

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

See Also

Reference

Range Class
Max Overload
CodeJam.Ranges Namespace

Clone this wiki locally