C# is a high level language that is component oriented while C++ is a low level and indeed platform neutral programming language.
- C# does not support #include statement. It uses only using statement.
- In C#, class definition does not use a semicolon at the end.
- C# does not support multiple inheritance.
- Casting in C# is much safer than in C++.
- In C# switch can also be used on string values.
- In C#, memory management is automatically handled by garbage collector. But in C++, the memory that is allocated in the heap dynamically has to be explicitly deleted.
- In C#, pointers can be used only in unsafe mode.
[amazon_link asins=’007070368X,1787287041,1788478924,9351190900,8120349172,9351343189,8126538791,B016Z18MLG,8120352068|1840787198,1518800270,0985580135,1119449278,1491988533,1119428114,1491987650,1484230175,161729134X’ template=’ProductCarousel’ store=’desibanjara22-21|desibanjaraco-21′ marketplace=’IN|UK’ link_id=’bf9ef3f3-8f49-11e8-ae7e-5beef709a73a’]