Thursday, July 30, 2009

What are the main differences between C# and C++/ PLZ HELP?

I have an interview with Microsoft and i need to be specific in my answers

What are the main differences between C# and C++/ PLZ HELP?
Sounds like you have some reading to do.





C++


http://msdn2.microsoft.com/en-us/library...





C#


http://msdn2.microsoft.com/en-us/vcsharp...





Remember that C++ is a language independent of Visual C++ and Microsoft. Visual C++ is Microsoft's implementation and includes things that favor the graphical nature of Windows and services Windows provides. You might think of it as an API for Windows oriented development (though I don't know that Microsoft does). Programs written in C++ and Visual C++ compile to native, processor-specific code and do not as a rule use a virtual machine. COM is often used in Visual C++ programming.





C# is part of the .Net Framework, which is a programming environment that uses a virtual machine with garbage collection in a manner somewhat similar to Java. Its syntax is C/C++/Java-like. The .Net Framework has replaced COM as the favored development environment for Windows.


No comments:

Post a Comment