BigInteger.IsOne 屬性

定義

表示目前 BigInteger 物件的值是否為 One

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

屬性值

如果 BigInteger 物件的值為 One,則為 true,否則為 false

備註

這個屬性提供比使用其他比較更佳的效能,例如 thisBigInteger.Equals(BigInteger.One)

適用於

另請參閱