title: Which one is performance wise to clear a string builder?
body: <p>Q :</p>
  
  <p>Which one is performance wise : to clear a string builder</p>
  
  <pre><code>AStringBuilder.Remove(0,AStringBuilder.Length);
  </code></pre>
  
  <hr>
  
  <pre><code>string theString = AStringBuilder.ToString();
  ABuilder.Replace(theString,String.Empty);
  </code></pre>
  
  <hr>
  
  <pre><code>AStringBuilder.Length = 0;
  </code></pre>
  
  <hr>
  
  <p><strong>Note :</strong> I use Framework 3.5 which doesn't contain <code>Clear()</code> method.</p>