StringBuilder.Append Vs StringBuilder.AppendFormat

前端 未结 9 1325
轮回少年
轮回少年 2021-01-31 15:30

I was wondering about StringBuilder and I\'ve got a question that I was hoping the community would be able to explain.

Let\'s just forget about code readability, which o

9条回答
  •  无人及你
    2021-01-31 16:12

    I'd assume it was the call that did the least amount of work. Append just concatenates strings, where AppendFormat is doing string substitutions. Of course these days, you never can tell...

提交回复
热议问题