Fun with Func<T,TResult> Delegates, Events and Async Operations
Posted by: Rick Strahls WebLog,
on 05 Oct 2009 |
View original | Bookmarked: 0 time(s)
Func<T> has been in .NET for a while, but with the arrival of LINQ its moved into the limelight as main performer that makes Lambda expressions work. Func<T> is basically a generic delegate that makes it extremely easy to create all sorts of custom delegate signatures without having to explicitly implement the delegates separately. Events How often have you lamented the fact that you have to create a custom delegate for an event that needs to fire a method that uses non-typical event...