Functional Programming in C#, Second Edition is fully revised to cover new functional-inspired features in the most recent releases of C#, including tuples, async streams, pattern matching, and records. Each chapter is packed with awesome perspectives and epiphany moments. Functional Programming in C#, Second Edition teaches you to apply functional thinking to real-world problems using the C# language.
You'll discover the principles and language features of functional programming, explore C#'s functional language features, and learn how to use them to write code that is concise, elegant, and robust. Through numerous real-world examples, you'll also learn the power of function composition, data flow programming, immutable data structures, and monadic composition with LINQ.
Functional programming changes the way you think about code by concentrating your attention on generic, composable behaviours instead of more complex objects. It gives developers the power to get more done with less code, enables super-safe concurrency that's perfect for multicore processors, and makes your code easy to maintain long-term. C#'s flexibility lets you benefit fully from the application of functional techniques.