1.

C++ vs C#

Answer»

C# and C++ are both object- oriented programming languages. C# is a general purpose object-oriented programming language with MULTIPLE features such as scalability support, garbage collection, type safety, easier type declarations etc.

Some of the differences between C++ and C# are given as follows:

C++
C#
C++ code can be created for any platform.
C# code is only targeted towards the Windows operating system.
C++ provides quite a fast performance.
The C# performance is slower as compared to C++.
Manual MEMORY management is USED in C++.
Automatic garbage collection is provided in C#.
Almost anything can be coded in C++ if the syntax is correct.
Anything that is not available in the .NET framework is difficult to implement in C# as it is dependent on the .NET framework.
A low level of abstraction is provided by C++.
A high level of abstraction is provided by C#.
C++ is a LIGHT language and can be easily compiled.

C# is interpreted into bytecode and then the Common Language Runtime manages the execution.
C++ is good for using in networking, server-side applications, gaming etc.
C# is good for creating MOBILE, desktop, web applications.


Discussion

No Comment Found