Is it correct to use the get_Keys() method for collections
问题 Related to this question: Can I add a key named 'keys' to a hashtable without overriding the 'keys' member , I am actually often using the get_Keys() method as the recommended PSBase property will just move the problem. In other words, this method appears especially handy for an unknown list of directory keys in case of a solution like: Powershell Merge 2 lists Performance. The method works as expected (also on other collections, any PowerShell version and .Net Core): $Hash = @{Keys = 'MyKeys