Most efficient way to concatenate strings?

后端 未结 17 1282
野趣味
野趣味 2020-11-22 03:04

What\'s the most efficient way to concatenate strings?

17条回答
  •  抹茶落季
    2020-11-22 03:46

    It really depends on your usage pattern. A detailed benchmark between string.Join, string,Concat and string.Format can be found here: String.Format Isn't Suitable for Intensive Logging

    (This is actually the same answer I gave to this question)

提交回复
热议问题