ExtensionMethod.NET Home of 880 C#, Visual Basic, F# and Javascript extension methods
clear the contents of a StringBuilder object
public static void Clear(this StringBuilder sb) { sb.Length = 0; }
StringBuilder sb = new StringBuilder(); //... sb.Clear();
Author: Manos Aspradakis
Submitted on: 15 jul. 2011
Language: C#
Type: System.Text.StringBuilder
Views: 4944