Chapter 3. Functional thinking in C#
This chapter covers
- Blending C# with functional techniques
- Using delegates and lambda expressions
- Querying collections by using LINQ
The object-oriented paradigm offers great productivity in application development. It makes projects more manageable by decomposing complex systems into classes, and objects are silos that you can concentrate on separately. Yet other paradigms have gathered attention in recent years, especially the functional programming paradigm. Functional programming languages, together with a functional way of thinking, greatly influenced the way Rx was designed and used. Specifically, the functional programming concepts of anonymous types, first-order functions, and function composition ...