hi
i am new to c#. i wonder what the following method call, especailly the () =>? what is it called and what does it do?
MessagePump.Run(form, () => { });
thanks
3 replies to this topic
Sponsor:
#3 Members - Reputation: 545
Posted 06 December 2012 - 05:29 PM
http://msdn.microsoft.com/en-us/library/system.action.aspx
It may be easier understanding Action delegate (and I guess Func later) if you arent use to lambda expressions
It may be easier understanding Action delegate (and I guess Func later) if you arent use to lambda expressions
#4 Members - Reputation: 199
Posted 08 December 2012 - 09:43 AM
hi
i am new to c#. i wonder what the following method call, especailly the () =>? what is it called and what does it do?
MessagePump.Run(form, () => { });
thanks
My favorite feature in C# - lamda expression. This feature so many times helped me.






