Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  list  >  End
list class : End getter

Description

Gets the last element of the list.

Syntax

listInstance.End

Arguments

None

Return value

ClassDescription
someClassElement to be got.

Sample code

1:

list{string} stringList = new list{string}();

2:

stringList.Add("a");

3:

stringList.Add("b");

4:

string resultString = stringList.End; // The result (resultString) is "b".

Notes

We recommend using LastChild getter.

Links for reference

Copyright © Rice All rights reserved.