BigInteger.IsZero Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the value of the current BigInteger object is Zero.
public:
property bool IsZero { bool get(); };
public bool IsZero { get; }
member this.IsZero : bool
Public ReadOnly Property IsZero As Boolean
Property Value
true
if the value of the BigInteger object is Zero; otherwise, false
.
Remarks
This property offers significantly better performance than BigInteger.Equals(BigInteger.Zero)
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.