+ 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
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).
+ 14
@warren really helpful
+ 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
+ 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.