URGENT MESSAGE, from no one in particular, get one of these important technologies before they are all gone.
This is a serious message from no one, but doesn't minimize the importance of the message.
In the past blog: http://bit.ly/csharpdelegatessimply
Now let’s get methodically anonymous, see, methods and anonymous, I really crack me up.
In our previous Lambda, Lambdee, Lambduh blog, I may have used code that I read from someone else's blog but can’t remember who, so please forgive me whoever it is, maybe leave a comment!
Ok, how is the anonymous expression used by delegates?
When the C# Compiler finds the delegate keyword inside of a method body, it expects that the delegate keyword will be followed by an anonymous body. Memorize that. Figure out why later. It’ll come with experience.
In the following code I use the anonymous approach, but the way that I used the braces was to show that the anonymous methods are exactly that: Methods.
Legal Note:
Restrictions: