Powershell Loop Through Array Example In C