BigInteger.IsPowerOfTwo Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value indicating whether a value is a power of two (2x).

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)


Public ReadOnly Property IsPowerOfTwo As Boolean
public bool IsPowerOfTwo { get; }
property bool IsPowerOfTwo {
    bool get ();
member IsPowerOfTwo : bool
function get IsPowerOfTwo () : boolean

Property Value

Type: System.Boolean
true if the value is a power of two (2x); otherwise, false.

.NET Framework Security

See Also


BigInteger Structure

Microsoft.SolverFoundation.Common Namespace