Developer said:
What is the difference between C# and C++.Net? Sorry for the lame
question, but I have been trying to figure out the difference. Which
one is better to use for commercial applications?
They're two different languages, both descended from C.
Which one is better depends on who's using them. If you know neither, then
you should probably use C#, since it's easier to learn and harder to shoot
yourself in the foot.
C++ is the only .NET language that can produce both native (x86) and managed
(IL) code and transition freely between the two domains. If your
application involves a lot of interoperation with existing native code, then
C++ is likely your best choice.
C++ is also the only Visual Studio .NET language that can generate pure
native applications, so if you need to distribute an app with no
dependencies on the .NET framework, then C++ is your only choice (within
VS).
-cd