Synthesis algorithms in c# - What is it?
What's a general algorithm? What is their purpose and purpose?
I realized that the aggregate algorithm is an algorithm, the result of which depends on the location from which it is called. And algorithm data can be written (realized) by common types, polymorphism or delegates.
But I never found a good explanation and description of these algorithms, and I could find clear examples.
Could you please elaborate on them, show examples of these algorithms, which are synthesized, polymorphism and delegates, and show what is the commonality of these three approaches?
Combined algorithm is an algorithm that can be applied to different types of data without changing it itself (i.e., its implementation). They are implemented on the basis of generic (generics).
That's if it's two words. A more detailed description of the generalized programming paradigm can be seen, for example https://ru.wikipedia.org/wiki/%D0%9E%D0%B1%D0%BE%D0%B1%D1%89%D1%91%D0%BD%D0%BD%D0%BE%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5#.D0.9F.D1.80.D0.B8.D0.BC.D0.B5.D1.80_.D0.BD.D0.B0_C.23 and http://www.argc-argv.com/2_2005/article01.pdf ♪