What does ----s mean in the context of StringBuilder.ToString()?

前端 未结 4 1839
眼角桃花
眼角桃花 2020-12-15 03:33

The Reference Source page for stringbuilder.cs has this comment in the ToString method:

if (chunk.m_ChunkLength > 0)
{
    // Copy these int         


        
4条回答
  •  孤城傲影
    2020-12-15 04:22

    Don't think that this is the case - the code in question copies to local variables to prevent bad things happening if the string builder instance is mutated on another thread.

    I think the ---- may relate to a four letter swear word...

提交回复
热议问题