list class : Add(class) method
Description
Adds an instance to the end of the list.
Syntax
listInstance.Add(someClass item)
Arguments
Class | Name | Description |
someClass | item | An instance that will be added. |
Return value
None
Sample code
//anyList is a instance of list type.
anyList.Add(5);
Notes
It's a wrapper of the System.Collections.Generic.List<t>.Add(T).