Lecture overview -- Keyboard shortcut: 'u'  Previous page: Origin and Rationale -- Keyboard shortcut: 'p'  Next page: Map, filter, and reduce -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Page 2 : 11
Object-oriented Programming in C#
An Introduction to LINQ
LINQ Concepts

  • Sequence

    • A collection - of type IEnumerable<T> - that can be traversed by use of an iterator

    • IQueryable<T> is a sub-interface of IEnumerable<T>.

  • Data source

    • The sequence considered the original input to a query

  • Query

    • An expression which (lazily) extracts information from a sequence

  • Query Operator

    • A pure function, defined on Sequence types, and used in a query

  • LINQ Provider

    • An implementation of a number of query operators on a given kind of data source

    • Examples: LINQ to Objects and LINQ to SQL