Click or drag to resize

ExtensionMethodskToT Method

Creates an inclusive range between two values. The default comparer is used to compare values.

Namespace:  Koden.Utils.Extensions
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static Range<T> kTo<T>(
	this T start,
	T end
)

Parameters

start
Type: T
Start of range.
end
Type: T
End of range.

Type Parameters

T
Type of the values

Return Value

Type: RangeT
An inclusive range between the start point and the end point.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).
See Also