[]
        
(Showing Draft Content)

C1.WPF.Core.Range-1.Intersect

Intersect Method

Intersect(Range<T>)

Returns the range that represents the intersection of this range and

value
.
Declaration
public Range<T> Intersect(Range<T> value)
Parameters
Type Name Description
Range<T> value

The range to intersect with.

Returns
Type Description
Range<T>

A range that contains the values that are common in both ranges, or null if there is no intersection.

Exceptions
Type Condition
ArgumentNullException
value
is null.
ArgumentException
value
does not overlap the range.