+ 2

What is difference between C++ and C# and which language useful for MATLAB programming?

28th Feb 2018, 2:11 AM
Hemendra Mehta
Hemendra Mehta - avatar
2 Answers
28th Feb 2018, 2:38 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
The main difference between C++ and C# is that C# is garbage collected and is slightly higher language than the other. This usually results in more overhead in runtime and slower execution. There's also a strong case against garbage coÄşlection because it may give unexpected slowness due to unscheduled cleaning. On the other hand, it doesn't leave you with dangling pointers, wrong deletes or memory leaks.
28th Feb 2018, 6:24 AM
spcan - avatar