Fun with Func<T,TResult> Delegates, Events and Async Operations(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 7 months ago

Delegates are powerful for event handling, highly useful in LINQ and a core requirement for async operations. Func<T> makes using delegate based logic a lot easier by providing a generic implemenation that in many cases allows you to skip creation of a separate delegate and instead just point at the Func<T> definition which can be a big timesaver and a nice way to remove delegate defintions from your namespaces.

add a comment |category: |Views: 343

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story