Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大きな文字列 (85kb 以上) は、大きな配列のように大きなオブジェクト ヒープの断片化を引き起こす可能性がありますか?
おそらく、これらはリテラルではないと想定しても問題ありません。はい、LOH に格納されています。.NET 4.0 では StringBuilder のロープが導入されました。これは、有効期間が短いビルダー バッファーを LOH から除外するように特別に設計されています。