std:std.collections.List<T>.New

Method New:Void( )
Method New:Void( values:T[] )
Method New:Void( values:Stack<T> )
Method New:Void( values:List<T> )

Creates a new list.

New() create a new empty list.

New( T[] ) creates a new list with the elements of an array.

New( List<T> ) creates a new list with the contents of another list.

New( Stack<T> ) create a new list the contents of a stack.

Parameters
values values An existing array, list or stack.