Click or drag to resize

SystemExtensionPow Method (Int16, Int16)

Get one Int16 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 short Pow(
	this short powbase,
	short powpower
)

Parameters

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

Return Value

Type: Int16
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 Int16. 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