+ 3

What are the differences between C++ and C#?

17th Jul 2017, 10:26 AM
Pristi Zahara
Pristi Zahara - avatar
3 ответов
+ 6
Some high level differences are 1. C# is considered as a high level language while C++ is considered as a low level language with high level functions. 2. Upon compiling C++ can generate both managed and unmanaged code whereas C# can generate only managed code(Intermediate language). 3. In C# Memory is automatically managed by the Garbage collector. In C++ memory allocated in heap must be explicitly deleted.
17th Jul 2017, 2:11 PM
Ravon_89
Ravon_89 - avatar
+ 1
C # was also a response from Microsoft having a language of its own to deal with Java since both are contemporary but C # came out a year later.
5th Aug 2017, 12:58 PM
Goncalo Santos
Goncalo Santos - avatar
0
Hello Zahara...
4th Aug 2017, 3:42 AM
Saurabh Gupta
Saurabh Gupta - avatar