Click or drag to resize

unsignedDiffUnsignedDiff 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#
public static ulong UnsignedDiff(
	this ulong this,
	ulong other
)

Parameters

this
Type: SystemUInt64
The first number.
other
Type: SystemUInt64
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