Soenneker.Extensions.Dictionaries.StringString 4.0.26

Prefix Reserved
dotnet add package Soenneker.Extensions.Dictionaries.StringString --version 4.0.26
                    
NuGet\Install-Package Soenneker.Extensions.Dictionaries.StringString -Version 4.0.26
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Extensions.Dictionaries.StringString" Version="4.0.26" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Dictionaries.StringString" Version="4.0.26" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Extensions.Dictionaries.StringString" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Extensions.Dictionaries.StringString --version 4.0.26
                    
#r "nuget: Soenneker.Extensions.Dictionaries.StringString, 4.0.26"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Extensions.Dictionaries.StringString@4.0.26
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Extensions.Dictionaries.StringString&version=4.0.26
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.Dictionaries.StringString&version=4.0.26
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Extensions.Dictionaries.StringString

Extension methods for converting and transforming string-keyed, string-valued dictionaries while preserving important dictionary behavior such as key comparison.

Installation

dotnet add package Soenneker.Extensions.Dictionaries.StringString

Usage

using Soenneker.Extensions.Dictionaries.StringString;

var source = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
{
    ["Region"] = "us-east"
};

Dictionary<string, object> values = source.ToObjectDictionary();
object region = values["region"]; // "us-east"

The result is a separate dictionary; changing it does not change the source. When the source is a concrete Dictionary<string, string>, its key comparer is preserved, which is why the case-insensitive lookup above works. A null source throws ArgumentNullException.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Soenneker.Extensions.Dictionaries.StringString:

Package Downloads
Soenneker.Email.Sender

A high-level utility responsible for orchestrating the creation and delivery of templated email messages

Soenneker.Email.Senders.Resend

A high-level utility responsible for orchestrating the creation and delivery of templated email messages using Resend

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.26 598 8/29/2026
4.0.24 83 8/29/2026
4.0.23 115 8/29/2026
4.0.22 2,169 7/27/2026
4.0.21 957 7/16/2026
4.0.20 1,760 6/19/2026
4.0.19 1,479 6/5/2026
4.0.18 2,021 4/22/2026
4.0.17 1,637 3/12/2026
4.0.16 126 3/12/2026
4.0.15 124 3/12/2026
4.0.14 128 3/12/2026
4.0.13 819 3/10/2026
4.0.12 397 3/9/2026
4.0.11 150 3/9/2026
4.0.10 117 3/9/2026
4.0.9 1,046 3/4/2026
4.0.8 2,976 1/14/2026
4.0.7 1,550 1/2/2026
4.0.6 1,851 11/20/2025
Loading failed

Describe extension library scope separately from current API