Click or drag to resize

SystemExtensionsIsBetweenT Method

Checks if the specified value is between the specified lower and higher bound (exclusive).

Namespace:  Slash.Unity.DataBind.Core.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static bool IsBetween<T>(
	this T value,
	T low,
	T high
)
where T : Object, IComparable<T>

Parameters

value
Type: T
Value to compare.
low
Type: T
Lower bound.
high
Type: T
Higher bound (exclusive).

Type Parameters

T
Type of objects to compare.

Return Value

Type: Boolean
True if the value is between the lower and higher bound (exclusive); otherwise, false.

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