pair クラス : Set(class,class) メソッド
説明
インスタンスを設定します。
構文
pairInstance.Set(class first, class second)
引数
| クラス | 名前 | 説明 |
| class | first | 一番目のインスタンス。 |
| class | second | 二番目のインスタンス。 |
返り値
無し。
サンプルコード
| 1: | pair newPair = new pair(); |
| 2: | newPair.Set(10, true); |
| 3: | bool init = newPair.Fitted; // true |
| 4: | bool first = newPair.ExistsFirst; // true |
| 5: | bool second = newPair.ExistsSecond; // true |
注意
無し。
参照リンク
無し。


