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

Define delay signing?

701


How does insertion sort work?

705


How do I make a dll in c#?

688


What happens if the inherited interfaces have conflicting method names?

769


How can you achieve run time polymorphism in C#?

743


What is javascriptserializer c#?

695


What is int32 in c#?

666


How do I start a program in c#?

709


Is datetime value type c#?

626


How to implement a singleton design pattern in c#?

638


Why do we use generics in c#?

723


What exception can an overridden method throw in comparison with the method it is overriding?

619


What Happens In Memory When You Box And Unbox A Value-type?

638


How do I create a new form in c#?

693


Is the following code legal?

746