Key Difference Between C# and C++

Key Difference Between C# and C++


C++



  • C++ is a low level programming language that adds object-oriented features to its base language C whereas C# is a high level language.
  • C++ compiles down to machine code whereas C# ‘compiles’ down to CLR (Common Language Runtime), which is interpreted by JIT in ASP.NET.
  • C++ is an object-oriented language while C# is considered a component-oriented programming language.
  • In C++ you need to manage memory manually whereas C# runs in a virtual machine, which performs memory management automatically.
  • In C++ development should follow any specific architecture and must be portable whereas C# development should be simple, modem, general-purpose, object-oriented programming language.

 


 C#

  • C# is a high level language and C# development should be simple, modem, general-purpose, and object-oriented.
  • C# is considered a component-oriented programming language,
  • C# runs in a virtual machine, which performs memory management automatically.

Comments

Popular posts from this blog

The Seven Different Types of Coding Blocks in Java

What is a web application? (Lesson 7 of our Java Bootcamp)

How big is an int in Java