In PowerShell 2.0 the new way to create a Dictionary
is:
$object = New-Object 'system.collections.generic.dictionary[string,int]'
Related Contents:
- How can I run PowerShell with the .NET 4 runtime?
- File / folder chooser dialog from a Windows batch script
- Powershell v3 Invoke-WebRequest HTTPS error
- How can I use a MySql User Defined Variable in a .NET MySqlCommand?
- PowerShell script to return versions of .NET Framework on a machine?
- Using .NET objects within a Powershell (V5) class
- What do you call these? [array][string][int]
- Deep copying a PSObject
- How to create System.IO.StreamWriter with Encoding in Powershell?
- Powershell Unload Module… completely
- WCF – How to Increase Message Size Quota
- HashSet vs. List performance
- .NET obfuscation tools/strategy [closed]
- Windows API Code Pack: Where is it? [closed]
- How do I determine the dependencies of a .NET application?
- Max number of concurrent HttpWebRequests
- Application Crashes With “Internal Error In The .NET Runtime”
- “Or” equivalent in Linq Where() lambda expression
- How do you get a string from a MemoryStream?
- Programmatically detecting Release/Debug mode (.NET) [duplicate]
- How to serialize an object to XML without getting xmlns=”…”?
- Why don’t structs support inheritance?
- Encrypting Connection String in web.config
- Maximum array length quota
- How to run NOT elevated in Vista (.NET)
- CryptographicException ‘Keyset does not exist’, but only through WCF
- WPF Data Binding and Validation Rules Best Practices
- Mixed mode assembly is built against version ‘v2.0.50727′ of the runtime
- Access x86 COM from x64 .NET
- Any way to make DataContractJsonSerializer serialize Dictionaries properly?
- Can I serialize Anonymous Types as xml?
- How do I merge multiple .net assemblies into a single assembly?
- Why does NotImplementedException exist?
- Organizationally, where should I put common queries when using Entity Framework Code First?
- How to modify .NET config files during installation?
- Call and Callvirt
- Using “GO” within a transaction
- What is a good buffer size for socket programming?
- System.BadImageFormatException: Could not load file or assembly (from installutil.exe)
- What causing this “Invalid length for a Base-64 char array”
- Display a tooltip over a button using Windows Forms
- Where and how is the _ViewStart.cshtml layout file linked?
- How to get folder path for ClickOnce application
- ReSharper and var [duplicate]
- How to clear the cache of HttpWebRequest
- how to get value from appsettings.json
- Encrypting connectionStrings section – utility for app.config
- How to Share App.config?
- How to locate fuslogvw.exe on my machine?
- Does ODP.NET require Oracle Client installation