Click or drag to resize

SystemExtensionPow Method (UInt16, UInt16)

Get one UInt16 to the power of another.

Namespace:  WhetStone.SystemExtensions
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static ushort Pow(
	this ushort powbase,
	ushort powpower
)

Parameters

powbase
Type: SystemUInt16
The base of the power.
powpower
Type: SystemUInt16
The exponent of the power.

Return Value

Type: UInt16
powbase raised to powpower.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt16. 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