Click or drag to resize

LinqExtensionMethodsBetween Method (Byte, Byte, Byte)

Returns if a given Byte 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 byte b,
	byte min,
	byte max
)

Parameters

b
Type: SystemByte
The number to test (implicit)
min
Type: SystemByte
The lower bound
max
Type: SystemByte
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 Byte. 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