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

后端 未结 7 1952
無奈伤痛
無奈伤痛 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:26

    C# is an object-oriented language, but C# further includes support for component-oriented programming. Contemporary software design increasingly relies on software components in the form of self-contained and self-describing packages of functionality. Key to such components is that they present a programming model with properties, methods, and events; they have attributes that provide declarative information about the component; and they incorporate their own documentation. C# provides language constructs to directly support these concepts, making C# a very natural language in which to create and use software components.

提交回复
热议问题