In the recent learning of C # Programming Foundation, and before have learned C language, this can not help but let me wonder: C language and C + +, C # What is the difference?
After inquiring the information, I summed up the difference between them:
C/c++/c# accurately, it is three languages.
C language has both high-level language characteristics and assembly language features. C Process-oriented, development of unmanaged programs, compiled into EXE is a binary executable, not cross-platform. C-language source code can basically easily correspond to assembly code, and can not require any runtime environment support. C features, simple and easy to compile, flexible close to the bottom. It can be used as a working system design language, writing system applications, or as an application design language and writing applications that do not rely on computer hardware. Therefore, it has a wide range of applications, not only in software development, but also all kinds of scientific research needs to use the C language, specific applications such as single-chip microcomputer and embedded system development.
C + + It is a widely used computer programming language. C + + Object-oriented, development of managed and unmanaged programs, compiled into EXE is a binary executable, not cross-platform. C + + is a common programming language for static data type checking, which supports multiple programming paradigms. It supports procedural programming, data abstraction, object-oriented programming, making icons, and other generic programming styles.
C # is an object-oriented, run-on, Microsoft company release. High-level programming language above the NETFramework. C # Object-oriented, development of managed programs, compiled into EXE is the intermediate language, need in. C # is characterized by a high level of abstraction with only one (object-oriented), rich support for runtime (garbage collection, etc.), and a rich library of classes. So it is studious, easy to use, while balancing operational efficiency, as far as possible optimization. Speaking of this is not to say that the more advanced the language is slower, the runtime performance is related to a lot of things. NET platform for two dynamic compilations before execution can be performed across platforms. C # looks surprisingly similar to Java, and it includes processes such as single inheritance, interfaces, almost the same syntax as Java, and the process of compiling into intermediate code. But C # differs significantly from Java in that it draws on a feature of Delphi, which is directly integrated with the COM (Component Object model), and it is Microsoft Corporation. The protagonist of the Netwindows network framework.
The difference between C language and C + + C #