DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

18
kicks
published 4 months ago, submitted by justin_etheredge justin_etheredge 4 months ago

codethinked.com — A quick look at "yield return" focusing on arguably the most important aspect...delayed execution.

Add a comment 2 comments | category: | Views: 205 | Get KickIt image code
tags: , | tag it

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:
Most online references make it sound like yield is nothing more than a convenience operator to clean up implementing the IEnumerable interface. True, but it also makes it far simpler to implement filters like this article shows. Kicked.
posted by spoulson 4 months ago
If you're interested in how the delayed execution actually works read this:

http://startbigthinksmall.wordpress.com/2008/06/09/behind-the-scenes-of-the-c-yield-keyword/
posted by lcorneliussen 4 months ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge