Skip to content

M_CodeJam_Ranges_Range_2_Union_2

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

Range(T, TKey).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, TKey> Union(
	T from,
	T to
)

VB

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

F#

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

Parameters

 

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

Return Value

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

See Also

Reference

Range(T, TKey) Structure
Union Overload
CodeJam.Ranges Namespace

Clone this wiki locally