BigInteger.IsOne プロパティ

定義

現在の BigInteger オブジェクトの値が Oneされているかどうかを示します。

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

プロパティ値

オブジェクトの値がの場合は

注釈

このプロパティは、 thisBigInteger.Equals(BigInteger.One)など、他の比較よりもパフォーマンスが大幅に向上します。

適用対象

こちらもご覧ください