Saturday, January 8, 2011

Quick Bytes: Get Func-y

If you look into the LINQ extension methods, you will run across Func quite a bit.  If you see Func in a method definition, you can treat it like a big sign that says "Put your lambda expression here."  This quick demo will show that Func is simply a shorthand for creating a delegate and that Func and lambdas go together hand-in-hand.

Get It Here
You can get the walkthrough (just 5 pages) and the code sample here: http://www.jeremybytes.com/demos.aspx#QBGF.

Direct Links:
PDF Walkthrough
Code Download

Happy Coding!

No comments:

Post a Comment