I have a piece of code that look follows this pattern ,
var stringBuilder =new StringBuilder( string.Concat(" string", _variable,
"another string" , _variable2 ... );
according to some logic do
stringBuilder.Append(" Some more strings");
I don't like The mismatch of using StringBuilder and string.Concat and I want a more elegant way of doing
What I thought was using StringBuilder.Append like so ,
StringBuilder.Append("string");
StringBuilder.Append(_variable);
StringBuilder.Append("another string");
Is there a better way then this approach ?