+ 2
What is the difference between c# and c++ ?
4 Answers
+ 1
One of the biggest difference is the CLR(Common Language Runtime(if im right)). When you compile a C# application it turns into an assembly which turns into native machine code during execution. All the memory management is handled by the CLR.
In c++ when you compile it turns right into native machine code. There is no CLR or anything like that. You are the one handling the memory.
There are not too much (if any) precreated methods, classes. As far as I know also you cannot create an array like int[] array = new int[15].. it is far more complicated.
In c# you can create apps in a short period of time with precreated classes while c++ takes more time
0
there are many differences but 1 I know is c++ supports multiple inheritance but c# doesn't.
0
[clicked "Post" by mistake. sorry]
As a compensate it uses less memory/resources if well written. Most of the huge games like Wow, lol, and the others are written in c++ since it reduces the resourses needed for execution so more people can play with them. However hearthstone was made with Unity3D in c#. (not all games written in c#)
0
[cant edit but last post has a mistake. "not all games written in c++"]