pair class : First getter

Description

Returns the first instance.

Syntax

pairInstance.First

Arguments

None

Return value

ClassDescription
classThe first instance.

Sample code

1:

pair newPair = new pair();

2:

newPair.First = new string("set as first item.");

3:

string str = newPair.First;

Notes

An exception will be thrown if the instance does not exist.

Links for reference

None

Copyright © Rice All rights reserved.