Difference between C++ and C#.net

Answer Posted / suryaprakash

c++:
1. C++ code usually compiles to assembly language.
2. will allow multiple inheritence. eg. allows a method to
be overriden many times in subclasses (derived classes).

C#:
1. C# by contrast compiles to Intermediate language (IL),
which has some similarities to java byte code.
2. supports inheritence, but not multiple, only 1 override
per method/function/

Is This Answer Correct ?    43 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are methods overloaded?

539


What is action c#?

486


what is the meaning of Object lifetime in OOPS

535


Is it possible to inline assembly or il in c# code?

525


What are scriptable objects?

506






Why does dllimport not work for me?

569


What are the fundamental differences between value types and reference types?

547


What is difference between the "throw" and "throw ex" in .net?

486


How do I do a case-insensitive string comparison?

515


What is datarelation c#?

461


What is polymorphism in c sharp?

518


What is the difference between icomparer and icomparable in c#?

461


Does c# replace c++?

618


What is assembly manifest?

522


What is the main purpose of delegates in c#?

507