RangeT   Conversion (T to RangeT)

Performs an implicit conversion from T to RangeT using the provided value as upper bound.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public static implicit operator Range<T> (
	T upperBound
)

Parameters

upperBound  T
The upper bound of the range. Whether this is an exclusive or inclusive bound, it depends on the context the RangeT is used in.

Return Value

RangeT
A RangeT instance representing a range between the default value of T and upperBound.

See Also