What is the Difference Between C++ and C#?

The 10 main Difference between C++ and C# are as follow:
No. 
 | 
  
C++ 
 | 
  
C# 
 | 
 
1. 
 | 
  
C++ is a low-level language. 
 | 
  
C# is a High-level Language. 
 | 
 
2. 
 | 
  
It supports the multiple inheritances. 
 | 
  
It does not support multiple inheritances. 
 | 
 
3. 
 | 
  
In C++, you require to manage memory manually. 
 | 
  
C# automatically manages Memory. 
 | 
 
4. 
 | 
  
In C++, after compiling code changed into machine code. 
 | 
  
In C#, after compiling code is changed into an intermediate language code. 
 | 
 
5. 
 | 
  
C++ used for developed console applications.  
 | 
  
C# programming used for Windows, mobile, and console applications. 
 | 
 
6. 
 | 
  
for Each loop is not supported in C++. 
 | 
  
for Each loop support in C#. 
 | 
 
7. 
 | 
  
C++ does not support garbage collection.  
 | 
  
C# supports garbage collection. 
 | 
 
8. 
 | 
  
C++ Does not support bound checking of arrays. 
 | 
  
C# Support bound checking of arrays. 
 | 
 
9. 
 | 
  
Using this language can create a standalone application. 
 | 
  
Using this language cannot create a standalone application. 
 | 
 
10. 
 | 
  
In C++, you can use pointer anywhere in the programme. 
 | 
  
In C#, Only in Unsafe mode, you can use a pointer. 
 |