Skip to content

M_CodeJam_Ranges_Range_Max__1_1

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

Range.Max(T) Method (RangeBoundaryTo(T), RangeBoundaryTo(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 RangeBoundaryTo<T> Max<T>(
	RangeBoundaryTo<T> boundary1,
	RangeBoundaryTo<T> boundary2
)

VB

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

F#

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

Parameters

 

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

Type Parameters

 

T
The type of the boundary value.

Return Value

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

See Also

Reference

Range Class
Max Overload
CodeJam.Ranges Namespace

Clone this wiki locally