OpenNETCF Smart Device Framework 2.3

Namespace:  OpenNETCF
Assembly:  OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0

Syntax

C#
public static bool IsPowerOf2(
	ushort number
)
Visual Basic (Declaration)
Public Shared Function IsPowerOf2 ( _
	number As UShort _
) As Boolean
Visual Basic (Usage)
Dim number As UShort
Dim returnValue As Boolean

returnValue = Math2.IsPowerOf2(number)
Visual C++
public:
static bool IsPowerOf2(
	unsigned short number
)
J#
public static boolean IsPowerOf2(
	UInt16 number
)
JScript
public static function IsPowerOf2(
	number : ushort
) : boolean
JavaScript
OpenNETCF.Math2.IsPowerOf2 = function(number);

Parameters

number
Type: System..::.UInt16

See Also