Whetstone Class reference
Whetstone Class reference
Whetstone
NumberStone
isWithin Class
isWithin Methods
iswithinexclusive Method
iswithinexclusive Method (Double, Double, Double)
iswithinexclusive Method (Int32, Int32, Int32)
iswithinexclusive(T) Method (T, T, T, IComparer(T))
isWithin
iswithinexclusive Method (Double, Double, Double)
Get whether an element is between two boundaries or equal to either of them.
Namespace:
NumberStone
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
bool
iswithinexclusive
(
this
double
x
,
double
border1
,
double
border2
)
Parameters
x
Type:
System
Double
The element to check
border1
Type:
System
Double
The first boundary.
border2
Type:
System
Double
The second boundary.
Return Value
Type:
Boolean
Whether
x
is between
border1
an
border2
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Double
. 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
Reference
isWithin Class
iswithinexclusive Overload
NumberStone Namespace