[Mono-list] bug: System.Text.StringBuilder
Andy Hume
andyhume32 at yahoo.co.uk
Mon May 14 05:36:37 EDT 2007
Works for me on Windows XP SP2 with Mono 1.2.3 installer:
C:\>mono stringb.exe
Adding a stringagain
_____
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Fabrício
Sent: 13 May 2007 21:39
To: Alan McGovern
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] bug: System.Text.StringBuilder
Sorry, I forget.
I'm using Mono-1.2.3.50, running on Windows XP SP2.
If need anything more I do.
----- Original Message -----
From: Alan <mailto:alan.mcgovern at gmail.com> McGovern
To: Fabrício <mailto:skarllot at hotmail.com>
Cc: mono-list at lists.ximian.com
Sent: Sunday, May 13, 2007 5:31 PM
Subject: Re: [Mono-list] bug: System.Text.StringBuilder
Works for me. What mono version are you using?
Alan.
On 5/13/07, Fabrício <skarllot at hotmail.com> wrote:
see the example:
using stringb = System.Text.StringBuilder;
public static int Main(string[] args)
{
stringb str = new stringb();
AssignStringBuilder(str);
Console.WriteLine(str.ToString()); // prints a empty string
}
public static void AssignStringBuilder(stringb str)
{
str.Append("Adding a string");
str.Append("again");
}
Returning from AssignStringBuilder method the StringBuilder backs to
original state.
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070514/b19acfae/attachment.html
More information about the Mono-list
mailing list