pair class : ExistsFirst getter
Description
Returns whether the first instance is set.
Syntax
pairInstance.ExistsFirst
Arguments
None
Return value
Class | Description |
bool | Whether it is set. |
Sample code
1: | pair newPair = new pair(); |
2: | bool exists = newPair.ExistsFirst; // false; |
3: | newPair.First = new string("set as first item."); |
4: | exists = newPair.ExistsFirst; // true |
Notes
If the instance is set, returns true. Otherwise, returns false.
Links for reference
None