Adding elements to the list

Add can be used to add new elements to the end of the list:

$list.Add("David") 

The Insert and InsertRange methods are available to add items elsewhere in the list. For example, an element may be added at the beginning:

$list.Insert(0, "Sarah") 
$list.Insert(2, "Jane") 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.233.153