Nicholas Paldino [.NET/C# MVP] <mv*@spam.guard.caspershouse.comwrote:
I haven't heard the term "anonymous method" used at all. It's usually
"anonymous delegate" since the only way you can access it is through a
delegate instance.
I'd say it's the other way round, actually. I've only ever seen
"anonymous delegate" here on the newsgroup, used loosely. It doesn't
appear anywhere in the spec.
"Anonymous method" is the term used in the spec. "Anonymous function"
is also used in the C# 3 spec to cover both anonymous methods and
lambda expressions.
When the compiler comes across the anonymous delegate, it will create a
method on a class which the delegate will then point to with a
compiler-generated name.
Nah, that's what happens when the compiler comes across an anonymous
method :)
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too