Share via


BigInteger.IsZero Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Indicates whether the value of the current BigInteger object is BigInteger.Zero.

Namespace:  System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

Syntax

'Declaration
Public ReadOnly Property IsZero As Boolean
public bool IsZero { get; }

Property Value

Type: System.Boolean
true if the value of the BigInteger object is BigInteger.Zero; otherwise, false.

Remarks

This property offers significantly better performance than BigInteger.Equals(BigInteger.Zero).

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.