pair class : Second getter
Description
Returns the second instance.
Syntax
pairInstance.Second
Arguments
None
Return value
Class | Description |
class | The second instance. |
Sample code
1: | pair newPair = new pair(); |
2: | newPair.Second = new string("set as second item."); |
3: | string str = newPair.Second; |
Notes
An exception will be thrown if the instance does not exist.
Links for reference
None