Lambda expressions can be confusing the first time you walk up to them. But once you get to know them, you can see they're a great addition to your toolbox. Used properly, they add elegance and simplicity to your code. And Language Integrated Query (LINQ) lends itself to lambda expressions. This session will look at what lambda expressions are, how they work, and how easy they are to use. Along the way, you'll see how we can take advantage of functional-style programming in your C# code.
You will learn:
- To use captured variables for proper scoping
- How lambda expressions can help us use Language Integrated Query (LINQ) effectively
- The difference between imperative programming and declarative programming