Actually, that's not true.
A much easier (and cleaner, IMO) way of doing this is just setting the
Length property to 0.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:Os**************@TK2MSFTNGP03.phx.gbl...
Hi,
Yes, it's
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Dan Aldean" <da*******@yahoo.com> wrote in message
news:Ol**************@TK2MSFTNGP05.phx.gbl... Hello,
I try to delete the content of a StringBuider object.
Is it Remove the only option?
private StringBuider secName = new .....;
.....
secName.Remove(0, secName.Length);
Thanks