• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

C# C++ C++.net diffrences?

Is there a table which maps the diffrences between the languges?
0
noam_dz
Asked:
noam_dz
  • 3
  • 2
1 Solution
 
AlexFMCommented:
I think that you need to define more precisely what information do you need.
C# and C++ are different languages, so such table will contain all language features. I don't think that EE allows posts of such size :)

About C++ and C++ .NET. Visual Studio .NET contains C++ compiler which allows to write both unmanaged C++ applications (old C++) and managed applications (C++/CLI). C++/CLI language works with .NET classes and accesses the same resources as C#. All managed .NET languages (C++/CLI, C#, VB) are different interfaces to the same .NET resources, the difference is only in syntax. Programmer who wants to start with .NET programming, can chooce any language he wants. Usually VB6 programmers prefer VB, and C++ programmers prefer C#. Without previous experience, recommended choice is C#.

The most important feature of C++/CLI is it's ability to write mixed-mode applications, which can contain both managed and unmanaged code. C++/CLI allows to call directly any unmanaged functions, this is the best choice for interoperability and using legacy C++ code.

My personal preference is C#. However, 50% of my code is written in C++/CLI, because I need to talk with different hardware devices using unmanaged SDK, and I need to use legacy C++ code.
0
 
AlexFMCommented:
Nice article. How should I react on this?
0
 
noam_dzAuthor Commented:
No reaction, just additional info for EE archives.
I found it looking for terms in your answer.
You gave a good summery of the subject.
0
 
AlexFMCommented:
Just wanted to know what to do :)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now