Skip to content

M_CodeJam_Ranges_Range_1_Union_2

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

Range(T).Union Method (T, T)

Returns a union range containing both of the ranges.

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

Syntax

C#

public Range<T> Union(
	T from,
	T to
)

VB

Public Function Union ( 
	from As T,
	to As T
) As Range(Of T)

F#

member Union : 
        from : 'T * 
        to : 'T -> Range<'T> 

Parameters

 

from
Type: T
The boundary From value.
to
Type: T
The boundary To value.

Return Value

Type: Range(T)
A union range containing both of the ranges.

See Also

Reference

Range(T) Structure
Union Overload
CodeJam.Ranges Namespace

Clone this wiki locally