Property | Value |
---|---|
Id | RR0201 |
Title | Convert interpolated string to 'string.Format' |
Syntax | interpolated string |
Enabled by Default | ✓ |
$"name: {name,0:f}, value: {value}"
string.Format("name: {0,0:f} value: {1}", name, value)
(Generated with DotMarkdown)