title: best way to clear contents of .NET's StringBuilder
body: <p>I would like to ask what you think is the best way (lasts less / consumes less resources) to clear the contents in order to reuse a StringBuilder. Imagine the following scenario:</p>
  
  <pre><code>StringBuilder sb = new StringBuilder();
  foreach(var whatever in whateverlist)
  {
    sb.Append("{0}", whatever);
  }
  
  //Perform some stuff with sb
  
  //Clear stringbuilder here
  
  //Populate stringbuilder again to perform more actions
  foreach(var whatever2 in whateverlist2)
  {
    sb.Append("{0}", whatever2);
  }
  </code></pre>
  
  <p>And when clearing StringBuilder I can think of two possibilities:</p>
  
  <pre><code>sb = new StringBuilder();
  </code></pre>
  
  <p>or</p>
  
  <pre><code>sb.Length = 0;
  </code></pre>
  
  <p>What is the best way to clear it and why? </p>
  
  <p>Thank you.</p>
  
  <p>EDIT: I ment with current .NET 3.5 version.</p>