函式接受三個參數組成特定格式字串 function PrintRecord( [string]$brand, [string]$model, [int]$year ) { Write-Host "[$brand] $model - $year" } ...
確定! 回上一頁