[Gtk-sharp-list] how to clear System.Text.StringBuilder

Paulinho amf.paulo at gmail.com
Sat Jun 18 19:03:09 EDT 2005


Hi,

I'm trying clean a StringBuilder....

code:

StringBuilder IsqlSelect = new StringBuilder();

IsqlSelect.Append("Hi Monkeys");
...
...
IsqlSelect.Equals(string.Empty); //I try this too: IsqlSelect.Equals("");
IsqlSelect.Append("Bye Monkeys");

Console.Write(IsqlSelect.ToString()); // I hope "Bye Monkeys", but "Hi
MonkeysBye Monkeys" is the result

Thank's

Magalhães

/* Sorry my english */


More information about the Gtk-sharp-list mailing list