SmartFormat is a string composition library written in C# which can be a drop-in replacement for string.Format
. More than that Smart.Format can format data with named placeholders, lists, localization, pluralization and other smart extensions.
- High performance with low memory footprint
- Exact control of whitespace text output
string.Format
compatibility mode andSmart.Format
enhanced mode- Minimal, intuitive syntax
- Many built-in extensions, custom extensions are easy to integrate
- .Net Framework 4.6.1 and later
- .Net Standard 2.0
- .Net Standard 2.1 and later for best optimizations
Have a look at the SmartFormat.Net Wiki
See changelog for changes.
See the list of changes already merged into branch version/v3