-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Ranges_CompositeRangeExtensions_ToCompositeRange__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Converts range to the composite range.
Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static CompositeRange<T> ToCompositeRange<T>(
this Range<T> range
)
VB
<ExtensionAttribute>
Public Shared Function ToCompositeRange(Of T) (
range As Range(Of T)
) As CompositeRange(Of T)
F#
[<ExtensionAttribute>]
static member ToCompositeRange :
range : Range<'T> -> CompositeRange<'T>
- range
- Type: CodeJam.Ranges.Range(T)
The range.
- T
- The type of the range values.
Type: CompositeRange(T)
A new composite range.
In Visual Basic and C#, you can call this method as an instance method on any object of type Range(T). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
CompositeRangeExtensions Class
ToCompositeRange Overload
CodeJam.Ranges Namespace