C++ vs C# (JNNC Technologies)


There are many differences and similarities between C++ programming language and C#. A list of top differences between C++ and C# are given below:
No.C++C#
1)C++ is a general purpose, case-sensitive, free-form programming language that supports object-oriented, procedural and generic programming.C# is pronounced as "C-Sharp". It is an object-oriented programming language provided by Microsoft that runs on .Net Framework.
2)In C++, multiple inheritance is possible through class.In C#, multiple inheritance is not possible through class.
3)In C++, memory management is handled manually.In C#, memory management is handled automatically.
4)In C++, pointers can be used anywhere in a program.In C#, pointers can be used only in unsafe mode.
5)C++ programming is based on OOPs concept.C# programming is based on Component and OOPs concept.
6)C++ is a programming language that runs on all platforms.C# is a programming language that rarely used outside Windows.
7)C++ programming can be used to create console applications.C# programming can be used to create console applications, Windows applications, Mobile applications, etc.

Post a Comment

0 Comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();