Click or drag to resize

LinqExtensionMethodsBetween Method (Int64, Int64, Int64)

Returns if a given Int64 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 long l,
	long min,
	long max
)

Parameters

l
Type: SystemInt64
The number to test (implicit)
min
Type: SystemInt64
The lower bound
max
Type: SystemInt64
The upper bound

Return Value

Type: Boolean
true if l 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 Int64. 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