That only applies to value types. StringBuilder is a reference type,
so the code in question should not return an empty string. Either
that, or I need to re-learn some C# :p


You need to relearn some C# ;) He's allocating a new class in his method,
therefore he needs to pass by ref if he wants to affect the original one.

Alan.

--
Lauri Kotilainen
Tel: +358 44 555 2735
Email: [EMAIL PROTECTED]
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to