[Mono-list] bug: System.Text.StringBuilder

Alan McGovern alan.mcgovern at gmail.com
Sun May 13 16:31:59 EDT 2007


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/20070513/a14d8aab/attachment.html 


More information about the Mono-list mailing list