C++ vs C#

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

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. In C#, multiple inheritance is not possible.
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.