BigInteger.IsZero Property

Definition

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