7.5 Object-Oriented presentation methods
The standard design pattern can be divided into three groups: creation, structure, and behavior (creational, structural, and behavioral). In this section, we will discuss several of the patterns in the latter two groups, similar to the structure used in F # earlier in this chapter. The functional version of the pattern differs from object-oriented because object-oriented programming focuses on adding new types, while function programming focuses on adding new functions, but the structure is very similar.
Tips
This section assumes that you have a little design pattern to know that you can find a link to an introductory article on this book's website, where there is no space to show all the data structures in C #, but a complete online implementation can be found.
We discuss the two structural patterns first, and then we discuss the behavior patterns later.
7.5 Object-Oriented presentation methods