What does it mean when you say C# is component oriented language?

后端 未结 7 1962
無奈伤痛
無奈伤痛 2020-12-10 02:51

I learned Java while ago. I just got bored of Java and returned to C++ after a while. I thought that C# was similar to Java. My assumption about the similarities between C#

7条回答
  •  生来不讨喜
    2020-12-10 03:25

    I may be wrong, but here is how I see it: it means that the various parts of a system are separated from each other and can easily be replaced.

    In dynamic languages it's relatively easy because of their flexibility, but in languages such as C# and Java you need to use special techniques such as dependency injection.

提交回复
热议问题