Lists

A list is the same as an array, but with a larger set of features, such as the ability to add elements without copying two arrays into a new one. The generic list using the .NET class, System.Collections.Generic.List, is shown next.

ArrayList is often used in examples requiring advanced array manipulation in PowerShell. However, ArrayList is older (.NET 2.0) and less efficient (it can use more memory), and cannot be strongly typed, as will be shown when creating a generic list.

..................Content has been hidden....................

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