BigInteger.IsOne 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示当前 BigInteger 对象的值是否为 One。
public:
property bool IsOne { bool get(); };
public bool IsOne { get; }
member this.IsOne : bool
Public ReadOnly Property IsOne As Boolean
属性值
true如果对象的BigInteger值为 One ,则为 ;否则为 false。
注解
此属性的性能明显优于与另一个比较的性能,例如 thisBigInteger.Equals(BigInteger.One)。