Disadvantages of VS.NET C# vs VC++ on non-web apps

I have been coding in c# for a while now, and have a couple "professional" scale stand alone projects coming up, they range from sockets, to database management and entry, I know basic c++, but was wondering the disadvantages of using c# vs c++....
LVL 1
addicktzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlexFMCommented:
For critical real time applications C# can be slower than C++ applications. C# doesn't contain low-level stuff for talking with drivers, accessing some Windows SDK like Device Management Functions, inline Assembly etc.
It is difficult to use legacy code written in C++ directly in C#.

However, C# together with C++/CLI can be successfully used for creating desktop applications. C# can be used whenever it possible for UI, database, WEB access, file management etc., with all advantages of high-level programming using well designed language. Class libraries written in C++/CLI can be used to make low level operations which are not available for C#. These two languages together are good platform for creating Windows desktop applications, especially for programmer with previous C++ experience.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NetworkArchitekCommented:
For what you are describing C# is well suited for the task. There are applications for which C++ is much better suited but these are in the area of high-performance 3D applications, games, drivers, and things such as this. For network communication, database management, etc I agree with AlexFM, C# is very fine for that.

Perhaps the only other issue is that by using a .NET language, your client is forced to have the .NET runtime installed.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.