+ 2
What is the difference between c# and cpp?
3 Réponses
+ 6
There are quite a number of difference , but they key difference are these :
- C++ has pointers, C# do not. But C# have delegates which are quite similar to pointers in C++.
(C# have pointers but they are only allowed in 'unsafe' mode)
- C# can use ref and out parameters rather than pointers in C++ when passing parameters by reference.
- For C#, the datatype 'long' is 64 bits, while it is 34 bits for C++.
- In switch statements, C# does not support fall through from one case label to another unlike C++.
+ 3
but I think that from your statement, "c# is the next version of cpp "
+ 2
thank you friend