pair class : Second(class) setter

Description

Sets up the second instance.

Syntax

pairInstance.Second = someInstance

Arguments

ClassNameDescription
classsomeInstanceAny instance.

Return value

None

Sample code

1:

pair newPair = new pair();

2:

newPair.Second = new string("set as second item.");

3:

string str = newPair.Second;

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.