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如果对象的Zero值为 BigInteger ,则为 ;否则为 false

注解

此属性的性能明显好于 BigInteger.Equals(BigInteger.Zero)

适用于

另请参阅