Chapter 10. Taking an Action in C# Functional Programming
This is the most important chapter of this book since we will create a new application using a functional approach. We have already discussed functional programming in depth in the previous chapters, including functional programming concepts, Language Integrated Query (LINQ), recursion, optimizing, and patterns. What we are going to do now is develop an application with an imperative approach and then refactor it into a functional approach.
In this chapter, we will create a Windows forms application and explore how to create a form and then add the code to it. After finishing this chapter, we will be able to refactor the Windows form application from an imperative approach into a functional approach.
In this chapter, we will cover the following topics:
- Creating a Windows forms application
- Exploring how to create a form and then add the code to it
- Creating engine code in an imperative approach
- Transform the engine code from...