http://weblogs.asp.net/scottgu/archive/2007/04/08/new-orcas-language-feature-lambda-expressions.aspx



Kind Regards,
 
Darren Neimke - Microsoft MVP
[email protected] 
 
blog: http://neimke.spaces.live.com 
twitter: http://twitter.com/digory 
mob: 0439 855 046


From: Stephen Price 
Sent: Monday, March 16, 2009 11:34 AM
To: [email protected] 
Subject: What's this mean? () =>


Hi all, 


I'm pretty sure this looks like a linq lamba expression but Google won't let me 
search it so was wondering if anyone could point me to an explanation of what 
() => means. 


To put it in context, I'm looking at the Silverlight unit testing framework and 
there are lines like;


EnqueCallback(() => Assert.AreEqual(9, thing.Value));


Or is it something to do with an anonymous delegate? 
I'm not having any problems with it, its working, but was just wondering what 
it means. :)


thanks,
Stephen
p.s. Yes, () => looks like it could be a rude emoticon. :p

--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists 
--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

Reply via email to