Skip to content

M_CodeJam_Ranges_Range_1_Union_1

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

Range(T).Union Method (T)

Returns a union range containing original range and the value.

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

Syntax

C#

public Range<T> Union(
	T value
)

VB

Public Function Union ( 
	value As T
) As Range(Of T)

F#

member Union : 
        value : 'T -> Range<'T> 

Parameters

 

value
Type: T
The value to be included in 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