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))有顯著優異的效能。