Click or drag to resize

unsignedDiffUnsignedDiff Method (UInt32, UInt32)

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 uint UnsignedDiff(
	this uint this,
	uint other
)

Parameters

this
Type: SystemUInt32
The first number.
other
Type: SystemUInt32
The second number.

Return Value

Type: UInt32
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 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