BigInteger.IsOne Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Indicates whether the value of the current BigInteger object is BigInteger.One.
Namespace: System.Numerics
Assembly: System.Numerics (in System.Numerics.dll)
Syntax
'Declaration
Public ReadOnly Property IsOne As Boolean
public bool IsOne { get; }
Property Value
Type: System.Boolean
true if the value of the BigInteger object is BigInteger.One; otherwise, false.
Remarks
This property offers significantly better performance than other comparisons with one, such as thisBigInteger.Equals(BigInteger.One).
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.