Table of Contents
Preface
Part 1: Foundations of Functional Programming in C#
1
Getting Started with Functional Programming
Functional versus imperative versus object-oriented programming
Imperative programming
Object-oriented programming
Functional programming
Blending paradigms
How functional programming is supported in C#
How to write functional code in C#
A practical example – a book publishing system
How to combine functional and object-oriented paradigms
Meet Steve and Julia
Summary
2
Expressions and Statements
Task 1 – Name and count all expressions and all statements
Task 2 – Use expressions instead of statements
Task 3 – Create an expression tree
Understanding the difference between expressions and statements
Example of expressions ...
Get Functional Programming with C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.