Powershell Function Returns Array Methods In C