What are the advantages of C++ over C#? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What are the advantages of C++ over C#?

13th Jul 2016, 3:14 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
9 Answers
+ 2
Jop, "not-so-nice". Means to access any field in an object despite of it's access modifier can on one hand be considered helpful and on the other hand destroys the purpose of information hiding: that something cannot be changed from the outside.
13th Jul 2016, 3:29 PM
Stefan
Stefan - avatar
+ 1
As far as I know C# is Network oriented....as the most important advance
13th Jul 2016, 3:17 PM
Vedant Patadia
Vedant Patadia - avatar
+ 1
@Vedant and other?
13th Jul 2016, 3:18 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
C++ is likely to be faster and does not require the .NET framework. Also, if you find some of the techniques that allow to break the principles of information hiding in C# "not so nice".
13th Jul 2016, 3:22 PM
Stefan
Stefan - avatar
+ 1
@Stephan Not so nice?!
13th Jul 2016, 3:23 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
Actually C# is more oriented on .NET Framework he's just saying that some facilities in it that break the gist of Concepts of OOPs...as far as I understood his words
13th Jul 2016, 3:26 PM
Vedant Patadia
Vedant Patadia - avatar
+ 1
@Stefan ok.
13th Jul 2016, 3:30 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
@Vedant: Yes, I'm saying it breaks some principles of object orientation.
13th Jul 2016, 3:31 PM
Stefan
Stefan - avatar
+ 1
...and is pretty much company specific. If you find that acceptable then it's not a problem.
13th Jul 2016, 3:33 PM
Stefan
Stefan - avatar