pair class : Set(class,class) method

Description

Sets up an instance.

Syntax

pairInstance.Set(class first, class second)

Arguments

ClassNameDescription
classfirstThe first instance.
classsecondThe second instance.

Return value

None.

Sample code

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

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.