So c# and c++ are both derived from c . So what exactly is different between the two | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

So c# and c++ are both derived from c . So what exactly is different between the two

So c# and c++ are both derived from c . So what exactly is different between the two apart from the syntaxes

13th Apr 2017, 5:20 AM
Karuma Tendai
Karuma Tendai - avatar
4 Answers
+ 17
C++ supercedes C, adding class libraries, keywords for object-oriented structure, and other features. It is, however still closer to Assembly languages and is action/task oriented. C# is Microsoft's take on Java, and is more similar to it than either C or C++. C# has the addition of namespaces for class libraries, automatic memory management (meaning loss of C/C++'s pointers), and tighter structure (pure object-orientation where everything must be in a class, and a lack of labels and goto keyword).
13th Apr 2017, 6:05 AM
Tamra
Tamra - avatar
+ 14
@warren really helpful
15th Apr 2017, 7:34 AM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 9
thanks guys , im not sure bwt this but i resd a text sayng c++ is better fr game development other than c#. but i see UNITY uses c# for game development ... whats your take on that
13th Apr 2017, 1:21 PM
Karuma Tendai
Karuma Tendai - avatar
+ 7
Let’s begin with C#. Pronounced “See sharp,” it is a widely used coding language that allows software developers to create secure and user-friendly applications that run on the .NET Framework. C# is used to create Windows client applications, XML Web services, distributed components, client-server, database applications and more. The language is actually a hybrid taken from C and C++. Comparable to Java, C# is an object-based language that is designed to help coders improve productivity when developing web applications. Seasoned programmers will tell new programming students that C# is an incredibly useful language capable of garbage collection, type safety, simplified type declarations, versioning and scalability support. These features make arriving at solutions to application and software issues faster and easier.
13th Apr 2017, 10:17 AM
Warren Ganye
Warren Ganye - avatar