HTML5 Mobile
Written by: Max Firtman
Featured Refcardz: Top Refcardz:
  1. Git
  2. Data Mining
  3. Spring Data
  4. Subversion
  5. HTML5 Mobile
  1. HTML5 Mobile
  2. HTML5
  3. Subversion
  4. Git
  5. Java

Link Details

Link 925477 thumbnail
User 897835 avatar

By kunal2383
via kunal-chowdhury.com
Submitted: Feb 17 2013 / 23:40

Yield is a contextual keyword available only in certain contextual statements, mainly interacts with the foreach loop. It allows each iteration in a foreach loop to be generated only when needed. In this way it improves the performance of the query. Today we will discuss about it with a small funny code. Let’s see how much we actually know about this keyword. If you can answer the output of the code, you already know about it.
  • 3
  • 0
  • 88
  • 40

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)