Thanks, Mattias,
I still got one question, "difference is significant depends on what you're
doing". Can you give me a sample about the difference. I thought it should
not be a huge difference.
Thanks.
[quoted text, click to view] "Mattias Sjögren" wrote:
> >which one is faster? A() or AA.Invoke()
>
> Invoking a method directly will likely always be faster than invoking
> it through a delegate. But whether or not the difference is
> significant depends on what you're doing.
>
>
> Mattias
>
> --
> Mattias Sjögren [C# MVP] mattias @ mvps.org
>
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com > Please reply only to the newsgroup.