Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.SystemExtensions
SystemExtension Class
SystemExtension Methods
Pow Method
Pow Method (Byte, Byte)
Pow Method (Decimal, Decimal)
Pow Method (Double, Double)
Pow Method (Int16, Int16)
Pow Method (Int32, Int32)
Pow Method (Int64, Int64)
Pow Method (BigInteger, BigInteger)
Pow Method (SByte, SByte)
Pow Method (Single, Single)
Pow Method (UInt16, UInt16)
Pow Method (UInt32, UInt32)
Pow Method (UInt64, UInt64)
SystemExtension
Pow Method (Int32, Int32)
Get one
Int32
to the power of another.
Namespace:
WhetStone.SystemExtensions
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
int
Pow
(
this
int
powbase
,
int
powpower
)
Parameters
powbase
Type:
System
Int32
The base of the power.
powpower
Type:
System
Int32
The exponent of the power.
Return Value
Type:
Int32
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
Int32
. 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
SystemExtension Class
Pow Overload
WhetStone.SystemExtensions Namespace