+ 5

C,C++andC# is the same???

I assume C and C++ as the same thing But isn’t C# different?? For example C,C++ #include <iostream>; C# using System; I really want to know the difference... Feel free to comment anything

31st Mar 2018, 4:11 PM
syul
syul - avatar
2 Answers
+ 10
C is a old language which was invented in the 70s, C++ was made a few years later to improve on the C language by adding more modern features like classes & templates (in Java generics). C++ was designed to be somewhat backwards compatible with C so all of C features and libraries were ported over thats why they both use #include <lib> and both have nearly same syntax. C# was made by Microsoft. It was created to be similar to Java but with some C++ features. Thats why the syntax is different betwen C, C++ and C#.
31st Mar 2018, 4:19 PM
TurtleShell
TurtleShell - avatar