BigInteger.IsZero 屬性

定義

表示當前 BigInteger 物件的值是否為 Zero

public:
 property bool IsZero { bool get(); };
public bool IsZero { get; }
member this.IsZero : bool
Public ReadOnly Property IsZero As Boolean

屬性值

true 若物件 BigInteger 值為 Zero;否則,則 false

備註

此特性性能明顯優於 BigInteger.Equals(BigInteger.Zero)

適用於

另請參閱