Click or drag to resize

LinqExtensionMethodsBetween Method (UInt32, UInt32, UInt32)

Returns if a given UInt32 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 uint u,
	uint min,
	uint max
)

Parameters

u
Type: SystemUInt32
The number to test (implicit)
min
Type: SystemUInt32
The lower bound
max
Type: SystemUInt32
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 UInt32. 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