Suggestion for the "Use format string" Feature.

The "Use format string" features replaces "+" concatenations with string.Format.

Now I have a special case:

+myStringBuilder.Append( @"a" + varA + @"b" + varB );+

is replaced with

myStringBuilder.Append( string.Format( @"ab", varA, varB ) );+ But in context of a StringBuilder if also could be an optimized version: +myStringBuilder.AppendFormat( @"ab", varA, varB );

Please sign in to leave a comment.