pair class : Second getter

Description

Returns the second instance.

Syntax

pairInstance.Second

Arguments

None

Return value

ClassDescription
classThe 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

Copyright © Rice All rights reserved.