Table of Contents

Namespace Cuemon.Extensions.Collections.Specialized

Assembly: Cuemon.Extensions.Collections.Specialized.dll

Add dictionary-style operations like ContainsKey and ToDictionary to NameValueCollection for easier interoperability with generic collection types. Use this namespace when you need to bridge specialized NameValueCollection APIs with generic dictionary operations. Start with ToDictionary on NameValueCollection for LINQ integration, or ToNameValueCollection on IDictionary{string, string[]} for the reverse conversion.

Availability: .NET 10, .NET 9 and .NET Standard 2.0

Complements: Cuemon.Collections.Specialized namespace 📘

Extension Members

Type Ext Methods
IDictionary{string, string[]} ⬇️ ToNameValueCollection
NameValueCollection ⬇️ ContainsKey, ToDictionary

Classes

DictionaryExtensions

Extension methods for the IDictionary<TKey, TValue> interface.

NameValueCollectionExtensions

Extension methods for the NameValueCollection class.