16
Lambda Expression July 2015 - Tech Sharing

Lambda expression (Microsoft .Net)

Embed Size (px)

Citation preview

Lambda Expression

July 2015 - Tech Sharing

Agenda• Introduction• Delegates / Event Handles• Anonymous Method• Lambda Expression• (revisiting) Generic Type Collections• Query Expression / Linq• Predicate / Func / Action• Captured Variables• Expression Tree• Books / References

Delegates / Event Handler

Anonymous Methods

Lambda Expression

Lambda Expression (Event)

(revisiting) Generic Type Collection• Expressive /Explicit/Strong Typing• Execution Time -> Compile Time

LINQ To Objects

Predicate<T> vs Func<T, bool>

Action<T>

Captured Variable

Expression Tree

Books / References• C# in Depth - by Jon Skeet• The C# Programming Language - by Anders Hejlsberg, Mads

Torgersen, Scott Wiltamuth, Peter Golde• C# 5.0 in a Nutshell - by Joseph Albahari, Ben Albahari• https://en.wikipedia.org/wiki/C_Sharp_(programming_language)

All books are available at Safari online -> https://www.safaribooksonline.com