Skip to content

The Cockney Coder

Spreading the Gospel of Isaac

yield

LINQ in C#2

Posted on 29 January, 201229 January, 2012 by Isaac Abraham

Introduction Continuing my series of posts on LINQ, I wanted to give a simple example as to how one can get the same sort of functionality in terms of query composition and lazy evaluation by using the yield keyword and without using any of C#3’s features. Bear in mind that LINQ was introduced as part … Continue reading LINQ in C#2

Tagged C#, linq, yieldLeave a comment
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • The Cockney Coder
    • Join 39 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Cockney Coder
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started