LINQ in Action Chapter 3
Short Description
This chapter covers:
+ An introduction to the key elements of the LINQ foundation
+ Sequences
+ Deferred query execution
+ Query operators
+ Query expressions
+ Expression trees
+ LINQ DLLs and namespaces
Website: www.manning-source.com | Filesize: 638kb
No of Page(s): 35
Content
…An iterator is an object that allows you to traverse through a collection’s elements. What is named an iterator in .NET is also known as a generator in other languages such as Python, or sometimes a cursor, especially within the context of a database. You may not know what an iterator is, but you surely have used several of them before! Each time you use a foreach loop (For Each in VB.NET), an iterator is involved. (This isn’t true for arrays because the C# and VB.NET compilers optimize foreach and For Each loops over arrays to replace the use of iterators by a simple loop, as if a for loop were used.) Every .NET collection (List
…
Get the file Download here
Related Books:Related Searches: iterator pattern, expression trees, query expressions, query execution, query operators
Comments
Leave a Reply