title: The difference in capacity between "Stream" and "String Builder"
body: <ul>
  <li><code>Streamwriter</code> is immediately outputting the data.</li>
  <li><code>StringBuilder</code> is accumulating the data in memory and outputting it at the end.</li>
  </ul>
  <p>But isn't <code>Streamwriter</code> also storing data somewhere until it is output by <code>Console.SetOut(sw)</code>?</p>
  <p>Probably in the buffer?</p>
  <p>is ignore the memory of the buffer?</p>
  <p><a href="https://stackoverflow.com/q/70235768/17595608">prev post</a></p>
  <p>thx</p>