PowerShell generic collections

后端 未结 3 1564
旧时难觅i
旧时难觅i 2020-12-01 01:48

I have been pushing into the .NET framework in PowerShell, and I have hit something that I don\'t understand. This works fine:

$foo = New-Object \"System.Col         


        
3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 02:10

    There are some issues with Generics in PowerShell. Lee Holmes, a dev on the PowerShell team posted this script to create Generics.

提交回复
热议问题