OpenNETCF Smart Device Framework 2.3

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

Syntax

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

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

Parameters

number
Type: System..::.Int32

See Also