Click or drag to resize

LinqExtensionMethodsBetween Method (UInt16, UInt16, UInt16)

Returns if a given UInt16 is between a given min and max

Namespace:  Couchbase.Lite.Internal.Linq
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public static bool Between(
	this ushort u,
	ushort min,
	ushort max
)

Parameters

u
Type: SystemUInt16
The number to test (implicit)
min
Type: SystemUInt16
The lower bound
max
Type: SystemUInt16
The upper bound

Return Value

Type: Boolean
true if u is between min and max, false otherwise

Usage Note

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