Provides better code maintainability by simple yet powerful .Params() string extension to supplement/replace string.Format(). Accepts numeric, named and reference parameters. More details and examples in XML tooltips. NUMERIC EXAMPLE: return "test={0}".Params("value"); returns ["test=value"] NAMED EXAMPLE: return "test={val}".Params(val => 1) returns ["test=1"] REFERENCE EXAMPLE: var test = "value"; return "test={test}".Params(() => test) returns ["test=value"] WARNING: You can't combine the 3 types in a single Param() call (there are safety checks in place), but you can chain them. All 3 methods support multiple parameters.
Project Url
View on NuGet:


Here are the packages that version of NamedFormatExtension depends on.

No dependencies



Installing with NuGet

PM> Install-Package NamedFormatExtension

Packages that Depend on NamedFormatExtension

No packages were found that depend on version