- 1

[DUPLICATE] What are the basic differences between C++ and C#?

Pls suggest the running platforms for C#

15th Apr 2018, 7:10 AM
Anshul Saxena
Anshul Saxena - avatar
3 Answers
0
C# is the successor of C++. C# is a object oriented language and runs on the .net framework. C++ is a verry hardware close, its not object oriented, but you can use objects too. C++ is estimated 5% faster than C#. C# runs on every operation systhems with the .net framework installed, but is mainly developed for Windows. C++ can be used everywhere (Windows, Linux, Mac, Microcontrollers, Ps4, ...).
15th Apr 2018, 7:44 AM
XiLef
0
Eh, man but the MOST SIGNIFICANT DIFFERENCE is missing. C++ is compiled to native machine code, but c# is compiled to something called Common Intermediate Language (CIL) which is interpreted (on the end compiled to native code by JIT) by CLR. This is also why is C# more likely successor of Java then C++.
17th Apr 2018, 9:05 AM
martin
martin - avatar
0
Thats what i mean with the .net framework. But your statement is better explaned.
17th Apr 2018, 10:37 AM
XiLef