Powershell Function Return Array In C