Skip to content

M_CodeJam_Ranges_Range_1_Union__1

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

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

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<TKey2>(
	Range<T, TKey2> other
)

VB

Public Function Union(Of TKey2) ( 
	other As Range(Of T, TKey2)
) As Range(Of T)

F#

member Union : 
        other : Range<'T, 'TKey2> -> Range<'T> 

Parameters

 

other
Type: CodeJam.Ranges.Range(T, TKey2)
The range to union with.

Type Parameters

 

TKey2
The type of the key of another range.

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