list class : GetAt(int) method
Description
Gets the element at the specified index.
Syntax
listInstance.GetAt(int index)
Arguments
Class | Name | Description |
int | index | Index of the element to get. |
Return value
Class | Description |
someClass | Element to be got. |
Sample code
//anyList is a instance of list{string} type.
string str = anyList.GetAt(5);
Notes
The index is 0-based.