Whetstone Class reference
Whetstone Class reference
Whetstone
NumberStone
unsignedDiff Class
unsignedDiff Methods
UnsignedDiff Method
UnsignedDiff Method (Byte, Byte)
UnsignedDiff Method (UInt16, UInt16)
UnsignedDiff Method (UInt32, UInt32)
UnsignedDiff Method (UInt64, UInt64)
unsignedDiff
UnsignedDiff Method (UInt64, UInt64)
Get the absolute difference between two numbers.
Namespace:
NumberStone
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
ulong
UnsignedDiff
(
this
ulong
this
,
ulong
other
)
Parameters
this
Type:
System
UInt64
The first number.
other
Type:
System
UInt64
The second number.
Return Value
Type:
UInt64
The absolute difference between
this
and
other
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
UInt64
. 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
unsignedDiff Class
UnsignedDiff Overload
NumberStone Namespace