>How can I do the same operation using an anonymous method instead of
>using
>the static CObj function?
>Can you help me with the sintax?
Label1.Text = String.Join("|", Array.ConvertAll<object,
string>(myArray, delegate(object item) { return item.ToString(); } ));
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Maury - 20 Mar 2007 16:08 GMT
On Mar 19, 6:57 pm, Mattias Sjögren <mattias.dont.want.s...@mvps.org>
wrote:
> Label1.Text = String.Join("|", Array.ConvertAll<object,
> string>(myArray, delegate(object item) { return item.ToString(); } ));
Thanks, I missed the keyword 'delegate'