Linq is a very useful feature of C# 3.0 which has been out for a while now. Unfortunately, a number of the developers at the company I work for do not know much about Linq and how it can benefit them. As such, I've been given the opportunity to present an information session about Linq.
What I'm trying to figure out is, what is the best way to introduce other programmers to Linq?
At the moment I'm thinking about talking about
- Linq to objects
- Query Extension methods
- Query Comprehension Syntax
- Lambda Expressions
- Deferred Execution
I believe that those encapsulate the basics of Linq but how do I present them so that programmers, who may never have have dealt with Linq previously, will be able to grasp the concepts and use them.
To what detail should I go in explaining how Lambda Expressions and deferred execution etc works? Should I focus on the theory or more on the practical examples of how Linq is used?
To reiterate, what is the best way to introduce Linq to other programmers?