For C++ and C# programmers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

For C++ and C# programmers

I would like to know what are the differences between the C programming languages, just like C++ and C#

26th Jan 2017, 5:05 PM
Saad Alnour
Saad Alnour - avatar
3 Answers
+ 5
The few things that they have in common include starting their name with "C", variable type declaration, OOP stuff. They are basically different programming languages, it's like comparing C++ to Java. However, the comparison of C and C++ would be a different story.
26th Jan 2017, 5:19 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Almost everything you can do in c++ you can do in c# and vice versa however working with low level code is c# is tedious and requires pinvokes and marshals you can work with asm as well if you enable unsafe code but this is highly up to how good you are with each language and what you prefer. That being said each of them are based upon each other and if you learn either understanding the others comes pretty naturally. Some c++ developers dislike object oriented programming but I consider it very useful to be well adapted in both as Microsoft is investing heavily into c# at the moment but c++ is a language that will probably be around forever.
26th Jan 2017, 5:24 PM
Alex
Alex - avatar
+ 1
C++ is like the old mother language C# is the rich baby of Microsoft but in general once you're professional in C# you can go any OOP language within one month max. (programming concepts)
28th Jan 2017, 2:32 AM
Abdulla
Abdulla - avatar