Give way to the yield keyword!(blogs.microsoft.co.il)

submitted by shayfriedmanshayfriedman(1411) 3 years, 8 months ago

A brief description of what you can do with the yield keyword.

3 comments |category: |Views: 718

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:

posted by spoulsonspoulson(327) 3 years, 8 months ago 0

I didn't realize you can yield return an IEnumerable from a method. This is a good tip.

Reply

posted by topbananatopbanana(0) 3 years, 8 months ago 0

I'll tell you what you can do with your yield keyword sonny...

Reply

posted by lcorneliussenlcorneliussen(490) 3 years, 8 months ago 0

Great posting!!

I explained how the yield statement works behind the scenes of the C# compiler.

http://startbigthinksmall.wordpress.com/2008/06/09/behind-the-scenes-of-the-c-yield-keyword/

Reply

information Login or create an account to comment on this story