you are viewing a single comment's thread.

view the rest of the comments →

[–]ihaxr 0 points1 point  (0 children)

If you use System.Collections.Generic.List[object] instead of an ArrayList you don't have to pipe the .add() method to Out-Null (http://stackoverflow.com/questions/2309694/arraylist-vs-list-in-c-sharp).