로딩
요청 처리 중입니다...

C#] StringBuilder, string.format 퍼포먼스 이슈

 C#] StringBuilder, string.format 퍼포먼스 이슈

C Family C#] StringBuilder, string.format 퍼포먼스 이슈 슬픈단잠 2016. 8. 11. 13:03 이웃추가 본문 기타 기능 http://stackoverflow.com/questions/6785/is-string-format-as-efficient-as-stringbuilder Is String.Format as efficient as StringBuilder Suppose I have a stringbuilder in C# that does this: StringBuilder sb = new StringBuilder(); string cat = "cat"; sb.Append("the ").Append(cat).(" in the hat"); string s = sb.ToString(); would th... stackoverflow.com http://www.liranchen.com/2010/07/stringformat-isnt-suitable-fo...