0

Is there any difference between c lang and c#

1st Jan 2018, 3:58 PM
Raman kumar
Raman kumar - avatar
2 ответов
+ 1
https://www.quora.com/Is-C-programming-language-the-same-as-C This is the top answer from the link above: "No. C# was developed by Microsoft to compete with Java and allow Java developers to embrace the Microsoft world. There are some similarities to C, just as Java shares some similarities, such as the use of braces, semi-colons, and the general way methods and variables are defined. If you can read C, you shouldn’t have much difficulty reading a C# program to get a general idea, but that’s as far as it goes. C# is an object-oriented language with classes, interfaces and structs. In that sense, its closer to C++ than to C." I hope this helps!
1st Jan 2018, 4:07 PM
JOESIFF
JOESIFF - avatar
+ 1
Actually, yes there is a difference. In fact they are completely different languages. 1) C does not support libraries C# does 2) C is older than C#. However they are similar. 1) I believe both are now supported by the .Net framework. 2) C# is based on C++ which is in turn based on C.
1st Jan 2018, 4:30 PM
josh mizzi
josh mizzi - avatar